[QGIS Commit] r12395 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Dec 10 06:12:34 EST 2009
Author: jef
Date: 2009-12-10 06:12:32 -0500 (Thu, 10 Dec 2009)
New Revision: 12395
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
fix #2248
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2009-12-10 10:07:30 UTC (rev 12394)
+++ trunk/qgis/src/app/qgisapp.cpp 2009-12-10 11:12:32 UTC (rev 12395)
@@ -4107,7 +4107,7 @@
{
// 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 @@
{
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() )
More information about the QGIS-commit
mailing list