Skip to content

Commit

Permalink
customization enable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Dec 1, 2012
1 parent 74d126b commit e7995cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgscustomization.cpp
Expand Up @@ -184,7 +184,7 @@ void QgsCustomizationDialog::reset()
settingsToTree( mSettings );

QSettings settings;
bool enabled = settings.value( "/UI/Customization/enabled", "0" ).toInt() == 1;
bool enabled = settings.value( "/UI/Customization/enabled", "false" ).toString() == "true";
mCustomizationEnabledCheckBox->setChecked( enabled );
treeWidget->setEnabled( enabled );
toolBar->setEnabled( enabled );
Expand Down

0 comments on commit e7995cf

Please sign in to comment.