From 34b51c5e0915cbb11c80029aaa05d96c7115fac3 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 16 Jan 2024 01:19:34 +0800 Subject: fix: slove the languange settings issue --- src/ui/widgets/TextEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widgets/TextEdit.cpp') 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; -- cgit v1.2.3