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@14995 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jan 5, 2011
1 parent 1859838 commit 33c809beb704b79ff05a02cfacc87aa95d12b7d1
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 33c809b

Please sign in to comment.