diff options
Diffstat (limited to 'src/ui/widgets')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 4 | ||||
-rw-r--r-- | src/ui/widgets/TextEdit.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index ea33e494..ba3e983b 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -362,7 +362,7 @@ void KeyList::dropEvent(QDropEvent* event) { bool confirm_import_keys = GlobalSettingStation::GetInstance() .GetSettings() - .value("general/confirm_import_keys", true) + .value("basic/confirm_import_keys", true) .toBool(); if (confirm_import_keys) check_box->setCheckState(Qt::Checked); @@ -384,7 +384,7 @@ void KeyList::dropEvent(QDropEvent* event) { if (dialog->result() == QDialog::Rejected) return; auto settings = GlobalSettingStation::GetInstance().GetSettings(); - settings.setValue("general/confirm_import_keys", check_box->isChecked()); + settings.setValue("basic/confirm_import_keys", check_box->isChecked()); } if (event->mimeData()->hasUrls()) { diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp index 61fdd609..1812dd23 100644 --- a/src/ui/widgets/TextEdit.cpp +++ b/src/ui/widgets/TextEdit.cpp @@ -613,7 +613,7 @@ void TextEdit::slot_save_status_to_cache_for_revovery() { GpgFrontend::GlobalSettingStation::GetInstance().GetSettings(); bool restore_text_editor_page = - settings.value("general/restore_text_editor_page", false).toBool(); + settings.value("basic/restore_text_editor_page", false).toBool(); if (!restore_text_editor_page) { GF_UI_LOG_DEBUG("restore_text_editor_page is false, ignoring..."); return; |