Skip to content
Permalink
Browse files
customization enable fix
  • Loading branch information
blazek committed Dec 1, 2012
1 parent 74d126b commit e7995cf5a502ef63857ae2e4c3337a3ccef55a77
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgscustomization.cpp
@@ -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 );

0 comments on commit e7995cf

Please sign in to comment.