mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Small code formatting change
This commit is contained in:
parent
d259817c59
commit
ea6f2caf91
|
@ -221,24 +221,24 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions()
|
|||
Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal);
|
||||
s->setNeedsSaving();
|
||||
};
|
||||
rowCustomImageDir.makeAcceptInputHandler(
|
||||
[this, s, titleCustomImageDir, defaultImageDirStaticText, defaultImageDirText,
|
||||
initValueMediaDir, updateValMediaDir] {
|
||||
if (Settings::getInstance()->getBool("VirtualKeyboard")) {
|
||||
mWindow->pushGui(new GuiTextEditKeyboardPopup(
|
||||
getHelpStyle(), s->getMenu().getPosition().y, titleCustomImageDir,
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"),
|
||||
updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?",
|
||||
defaultImageDirStaticText, defaultImageDirText, "load default directory"));
|
||||
}
|
||||
else {
|
||||
mWindow->pushGui(new GuiTextEditPopup(
|
||||
getHelpStyle(), titleCustomImageDir,
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"),
|
||||
updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?",
|
||||
defaultImageDirStaticText, defaultImageDirText, "load default directory"));
|
||||
}
|
||||
});
|
||||
rowCustomImageDir.makeAcceptInputHandler([this, s, titleCustomImageDir,
|
||||
defaultImageDirStaticText, defaultImageDirText,
|
||||
initValueMediaDir, updateValMediaDir] {
|
||||
if (Settings::getInstance()->getBool("VirtualKeyboard")) {
|
||||
mWindow->pushGui(new GuiTextEditKeyboardPopup(
|
||||
getHelpStyle(), s->getMenu().getPosition().y, titleCustomImageDir,
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"),
|
||||
updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?",
|
||||
defaultImageDirStaticText, defaultImageDirText, "load default directory"));
|
||||
}
|
||||
else {
|
||||
mWindow->pushGui(new GuiTextEditPopup(
|
||||
getHelpStyle(), titleCustomImageDir,
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"),
|
||||
updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?",
|
||||
defaultImageDirStaticText, defaultImageDirText, "load default directory"));
|
||||
}
|
||||
});
|
||||
s->addRow(rowCustomImageDir);
|
||||
|
||||
s->setSize(mSize);
|
||||
|
|
Loading…
Reference in a new issue