mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
customization enable fix
This commit is contained in:
parent
74d126b23e
commit
e7995cf5a5
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user