Skip to content

Commit e7995cf

Browse files
committed
customization enable fix
1 parent 74d126b commit e7995cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgscustomization.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void QgsCustomizationDialog::reset()
184184
settingsToTree( mSettings );
185185

186186
QSettings settings;
187-
bool enabled = settings.value( "/UI/Customization/enabled", "0" ).toInt() == 1;
187+
bool enabled = settings.value( "/UI/Customization/enabled", "false" ).toString() == "true";
188188
mCustomizationEnabledCheckBox->setChecked( enabled );
189189
treeWidget->setEnabled( enabled );
190190
toolBar->setEnabled( enabled );

0 commit comments

Comments
 (0)