[QGIS Commit] r13410 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Apr 30 16:55:08 EDT 2010
Author: borysiasty
Date: 2010-04-30 16:55:07 -0400 (Fri, 30 Apr 2010)
New Revision: 13410
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
fix edit actions remaining active when switching to a raster layer
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2010-04-29 21:55:16 UTC (rev 13409)
+++ trunk/qgis/src/app/qgisapp.cpp 2010-04-30 20:55:07 UTC (rev 13410)
@@ -5891,6 +5891,10 @@
mActionPasteFeatures->setEnabled( false );
mActionRotatePointSymbols->setEnabled( false );
mActionDeletePart->setEnabled( false );
+ mActionDeleteRing->setEnabled( false );
+ mActionSimplifyFeature->setEnabled( false );
+ mActionReshapeFeatures->setEnabled( false );
+ mActionSplitFeatures->setEnabled( false );
//NOTE: This check does not really add any protection, as it is called on load not on layer select/activate
//If you load a layer with a provider and idenitfy ability then load another without, the tool would be disabled for both
More information about the QGIS-commit
mailing list