Skip to content

Commit

Permalink
Default the disable_enter_attribute_values_dialog value to false for
Browse files Browse the repository at this point in the history
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 24c2dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsfeatureaction.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 24c2dd2

Please sign in to comment.