Skip to content

Commit

Permalink
fix: correct config key for restore view mode
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lighto-Ku committed Jan 2, 2025
1 parent ede39c5 commit f1e428a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfm-base/base/configs/settingbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit f1e428a

Please sign in to comment.