mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 22:27:52 +00:00
game_list: Add persistent setting for the favorites row expanded state
Previously, the favorites row was always expanded on launch. This change introduces a persistent setting that allows the favorites row's expanded state to be remembered between launches.
This commit is contained in:
parent
16fa8e0b37
commit
8f764d62a5
3 changed files with 17 additions and 7 deletions
|
@ -74,7 +74,6 @@ struct Values {
|
|||
QString game_dir_deprecated;
|
||||
bool game_dir_deprecated_deepscan;
|
||||
QVector<UISettings::GameDir> game_dirs;
|
||||
QVector<u64> favorited_ids;
|
||||
QStringList recent_files;
|
||||
QString language;
|
||||
|
||||
|
@ -96,6 +95,8 @@ struct Values {
|
|||
Settings::BasicSetting<uint8_t> row_2_text_id{2, "row_2_text_id"};
|
||||
std::atomic_bool is_game_list_reload_pending{false};
|
||||
Settings::BasicSetting<bool> cache_game_list{true, "cache_game_list"};
|
||||
Settings::BasicSetting<bool> favorites_expanded{true, "favorites_expanded"};
|
||||
QVector<u64> favorited_ids;
|
||||
|
||||
bool configuration_applied;
|
||||
bool reset_to_defaults;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue