mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Merge pull request #41 from joolswills/gamelist_only
move ParseGamelistOnly option to the gui so people can easily enable …
This commit is contained in:
commit
7783a1bb79
|
@ -175,6 +175,11 @@ GuiMenu::GuiMenu(Window* window) : GuiComponent(window), mMenu(window, "MAIN MEN
|
|||
s->addWithLabel("SAVE METADATA ON EXIT", save_gamelists);
|
||||
s->addSaveFunc([save_gamelists] { Settings::getInstance()->setBool("SaveGamelistsOnExit", save_gamelists->getState()); });
|
||||
|
||||
auto parse_gamelists = std::make_shared<SwitchComponent>(mWindow);
|
||||
parse_gamelists->setState(Settings::getInstance()->getBool("ParseGamelistOnly"));
|
||||
s->addWithLabel("PARSE GAMESLISTS ONLY", parse_gamelists);
|
||||
s->addSaveFunc([parse_gamelists] { Settings::getInstance()->setBool("ParseGamelistOnly", parse_gamelists->getState()); });
|
||||
|
||||
mWindow->pushGui(s);
|
||||
});
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ std::vector<const char*> settings_dont_save = boost::assign::list_of
|
|||
("Debug")
|
||||
("DebugGrid")
|
||||
("DebugText")
|
||||
("ParseGamelistOnly")
|
||||
("ShowExit")
|
||||
("Windowed")
|
||||
("VSync")
|
||||
|
|
Loading…
Reference in a new issue