Skip to content
Permalink
Browse files
customization enable fix
  • Loading branch information
blazek committed Dec 1, 2012
1 parent 74d126b commit e7995cf
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.