mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
indentation of multi-line statements
This commit is contained in:
parent
e24c92effe
commit
5f23074f72
|
@ -950,7 +950,7 @@ void GuiMenu::openOtherOptions()
|
|||
|
||||
// Exit button configuration.
|
||||
auto exit_button_config = std::make_shared<OptionListComponent<std::string>>
|
||||
(mWindow, getHelpStyle(), "EXIT BUTTON COMBO", false);
|
||||
(mWindow, getHelpStyle(), "EXIT BUTTON COMBO", false);
|
||||
std::string selectedExitButtonCombo = Settings::getInstance()->getString("ExitButtonCombo");
|
||||
exit_button_config->add("F4", "F4", selectedExitButtonCombo == "F4");
|
||||
exit_button_config->add("Alt + F4", "AltF4", selectedExitButtonCombo == "AltF4");
|
||||
|
@ -965,7 +965,7 @@ void GuiMenu::openOtherOptions()
|
|||
if (exit_button_config->getSelected() !=
|
||||
Settings::getInstance()->getString("ExitButtonCombo")) {
|
||||
Settings::getInstance()->setString("ExitButtonCombo",
|
||||
exit_button_config->getSelected());
|
||||
exit_button_config->getSelected());
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue