mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Merge pull request #419 from Koerty/grid-enable-for-users
[GRID 8] Enable the grid view for everyone
This commit is contained in:
commit
aecd004e43
|
@ -274,10 +274,7 @@ void GuiMenu::openUISettings()
|
||||||
styles.push_back("basic");
|
styles.push_back("basic");
|
||||||
styles.push_back("detailed");
|
styles.push_back("detailed");
|
||||||
styles.push_back("video");
|
styles.push_back("video");
|
||||||
|
styles.push_back("grid");
|
||||||
// Temporary "hack" so ES don't crash when leaving this menu after he enabled the grid by tweaking config file
|
|
||||||
if (Settings::getInstance()->getString("GamelistViewStyle") == "grid")
|
|
||||||
styles.push_back("grid");
|
|
||||||
|
|
||||||
for (auto it = styles.cbegin(); it != styles.cend(); it++)
|
for (auto it = styles.cbegin(); it != styles.cend(); it++)
|
||||||
gamelist_style->add(*it, *it, Settings::getInstance()->getString("GamelistViewStyle") == *it);
|
gamelist_style->add(*it, *it, Settings::getInstance()->getString("GamelistViewStyle") == *it);
|
||||||
|
|
Loading…
Reference in a new issue