Skip to content
Permalink
Browse files
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.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14995 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jan 5, 2011
1 parent 6f299a4 commit 24c2dd2c518e0480f12806c14324812e8ac2c7b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsfeatureaction.cpp
@@ -158,7 +158,7 @@ bool QgsFeatureAction::addFeature()
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 );

0 comments on commit 24c2dd2

Please sign in to comment.