diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2020-09-07 13:35:55 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2020-09-07 11:38:13 +0000 |
commit | b7e660471f8b11979d5561ce11fe2cc470c46427 (patch) | |
tree | 94a6aab0037c1732a64c8933b5d2919be75d345b /src/plugins/qmldesigner/components/componentcore | |
parent | f1806621f8ac12b690b94a1e93274ff0c4d37bc8 (diff) |
QmlDesigner: Fix typo in settings key
ALWAYS_SAFE_IN_CRUMBLEBAR -> ALWAYS_SAVE_IN_CRUMBLEBAR
AlwaysSafeInCrumbleBar -> AlwaysSaveInCrumbleBar
Change-Id: I939c5631301ea8edcac6f07bbc08af2994907117
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/componentcore')
-rw-r--r-- | src/plugins/qmldesigner/components/componentcore/crumblebar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/componentcore/crumblebar.cpp b/src/plugins/qmldesigner/components/componentcore/crumblebar.cpp index 733b29ef5a..8494e2093b 100644 --- a/src/plugins/qmldesigner/components/componentcore/crumblebar.cpp +++ b/src/plugins/qmldesigner/components/componentcore/crumblebar.cpp @@ -135,7 +135,7 @@ Utils::CrumblePath *CrumbleBar::crumblePath() void CrumbleBar::showSaveDialog() { - if (DesignerSettings::getValue(DesignerSettingsKey::ALWAYS_SAFE_IN_CRUMBLEBAR).toBool()) { + if (DesignerSettings::getValue(DesignerSettingsKey::ALWAYS_SAVE_IN_CRUMBLEBAR).toBool()) { Core::DocumentManager::saveModifiedDocumentSilently(currentDesignDocument()->editor()->document()); } else { bool alwaysSave; @@ -147,7 +147,7 @@ void CrumbleBar::showSaveDialog() tr("Always save when leaving subcomponent"), &alwaysSave); - DesignerSettings::setValue(DesignerSettingsKey::ALWAYS_SAFE_IN_CRUMBLEBAR, alwaysSave); + DesignerSettings::setValue(DesignerSettingsKey::ALWAYS_SAVE_IN_CRUMBLEBAR, alwaysSave); } } |