From 53819f647b5c07d30782399b1b578a0615bf0d1f Mon Sep 17 00:00:00 2001 From: jef Date: Thu, 10 Dec 2009 11:12:32 +0000 Subject: [PATCH] fix #2248 git-svn-id: http://svn.osgeo.org/qgis/trunk@12395 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgisapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index b2518b011511..4b95ba7b2993 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -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 ); @@ -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() )