From f1e428a7ee6a9e279306edfd2580e1c1ec00cf95 Mon Sep 17 00:00:00 2001 From: Lighto-Ku Date: Thu, 2 Jan 2025 10:07:49 +0800 Subject: [PATCH] fix: correct config key for restore view mode Change the config key from "03_restore_view_mode" to "04_restore_view_mode" to match its path name in LV2_GROUP_VIEW ".04_restore_view_mode", maintaining consistency in the configuration system. Log: fix settings issue Bug: https://pms.uniontech.com/bug-view-298263.html --- src/dfm-base/base/configs/settingbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfm-base/base/configs/settingbackend.cpp b/src/dfm-base/base/configs/settingbackend.cpp index 991b932df3..2a5ed0b005 100644 --- a/src/dfm-base/base/configs/settingbackend.cpp +++ b/src/dfm-base/base/configs/settingbackend.cpp @@ -366,7 +366,7 @@ void SettingBackend::initWorkspaceSettingConfig() { "keys", viewModeKeys } }, 1); ins->addConfig(LV2_GROUP_VIEW ".04_restore_view_mode", - { { "key", "03_restore_view_mode" }, + { { "key", "04_restore_view_mode" }, { "desc", tr("Restore default view mode for all directories") }, { "text", tr("Restore default view mode") }, { "type", "pushButton" },