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@12395 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 10, 2009
1 parent dd120d8 commit 53819f6
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? // commit or roll back?
QMessageBox::StandardButton commit = QMessageBox::StandardButton commit =
QMessageBox::information( this, QMessageBox::information( 0,
tr( "Stop editing" ), tr( "Stop editing" ),
tr( "Do you want to save the changes to layer %1?" ).arg( vlayer->name() ), tr( "Do you want to save the changes to layer %1?" ).arg( vlayer->name() ),
QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel ); QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel );
Expand All @@ -4116,7 +4116,7 @@ void QgisApp::toggleEditing( QgsMapLayer *layer )
{ {
if ( !vlayer->commitChanges() ) if ( !vlayer->commitChanges() )
{ {
QMessageBox::information( this, QMessageBox::information( 0,
tr( "Error" ), tr( "Error" ),
tr( "Could not commit changes to layer %1\n\nErrors: %2\n" ) tr( "Could not commit changes to layer %1\n\nErrors: %2\n" )
.arg( vlayer->name() ) .arg( vlayer->name() )
Expand Down

0 comments on commit 53819f6

Please sign in to comment.