[QGIS Commit] r14995 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Jan 4 23:43:29 EST 2011


Author: gsherman
Date: 2011-01-04 20:43:29 -0800 (Tue, 04 Jan 2011)
New Revision: 14995

Modified:
   trunk/qgis/src/app/qgsfeatureaction.cpp
Log:
Default the disable_enter_attribute_values_dialog value to false for
users that have not set this option. This keeps it in sync with the
checkbox in the options dialog that, by default, is unchecked.
Previously on a new install the attribute dialog doesn't appear, leaving
users confused about how to enter attribute information.

Modified: trunk/qgis/src/app/qgsfeatureaction.cpp
===================================================================
--- trunk/qgis/src/app/qgsfeatureaction.cpp	2011-01-05 04:43:23 UTC (rev 14994)
+++ trunk/qgis/src/app/qgsfeatureaction.cpp	2011-01-05 04:43:29 UTC (rev 14995)
@@ -158,7 +158,7 @@
   mLayer->beginEditCommand( text() );
 
   // show the dialog to enter attribute values
-  bool isDisabledAttributeValuesDlg = settings.value( "/qgis/digitizing/disable_enter_attribute_values_dialog", true ).toBool();
+  bool isDisabledAttributeValuesDlg = settings.value( "/qgis/digitizing/disable_enter_attribute_values_dialog", false ).toBool();
   if ( isDisabledAttributeValuesDlg )
   {
     res = mLayer->addFeature( mFeature );



More information about the QGIS-commit mailing list