aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-15 17:19:34 +0000
committersaturneric <[email protected]>2024-01-15 17:19:34 +0000
commit34b51c5e0915cbb11c80029aaa05d96c7115fac3 (patch)
treeabb530d5d93ab09ff95844b000958b79c07cd3c5 /src/ui/widgets/KeyList.cpp
parentfix: reload ui should not destroy core and module system (diff)
downloadGpgFrontend-34b51c5e0915cbb11c80029aaa05d96c7115fac3.tar.gz
GpgFrontend-34b51c5e0915cbb11c80029aaa05d96c7115fac3.zip
fix: slove the languange settings issue
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r--src/ui/widgets/KeyList.cpp4
1 files changed, 2 insertions, 2 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()) {