We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d126b commit e7995cfCopy full SHA for e7995cf
src/app/qgscustomization.cpp
@@ -184,7 +184,7 @@ void QgsCustomizationDialog::reset()
184
settingsToTree( mSettings );
185
186
QSettings settings;
187
- bool enabled = settings.value( "/UI/Customization/enabled", "0" ).toInt() == 1;
+ bool enabled = settings.value( "/UI/Customization/enabled", "false" ).toString() == "true";
188
mCustomizationEnabledCheckBox->setChecked( enabled );
189
treeWidget->setEnabled( enabled );
190
toolBar->setEnabled( enabled );
0 commit comments