aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/TextEdit.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/TextEdit.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/TextEdit.cpp')
-rw-r--r--src/ui/widgets/TextEdit.cpp2
1 files changed, 1 insertions, 1 deletions
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;