Skip to content

Commit

Permalink
fix #2248
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12395 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 10, 2009
1 parent c88cdc9 commit e6495b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -4107,7 +4107,7 @@ void QgisApp::toggleEditing( QgsMapLayer *layer )
{
// commit or roll back?
QMessageBox::StandardButton commit =
QMessageBox::information( this,
QMessageBox::information( 0,
tr( "Stop editing" ),
tr( "Do you want to save the changes to layer %1?" ).arg( vlayer->name() ),
QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel );
Expand All @@ -4116,7 +4116,7 @@ void QgisApp::toggleEditing( QgsMapLayer *layer )
{
if ( !vlayer->commitChanges() )
{
QMessageBox::information( this,
QMessageBox::information( 0,
tr( "Error" ),
tr( "Could not commit changes to layer %1\n\nErrors: %2\n" )
.arg( vlayer->name() )
Expand Down

0 comments on commit e6495b3

Please sign in to comment.