mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(iOS) Fixed a build issue
This commit is contained in:
parent
1b52f422c7
commit
739f6d3715
|
@ -2137,6 +2137,7 @@ void GuiMenu::openOtherOptions()
|
||||||
applicationUpdaterFrequency->setCallback(applicationUpdaterFrequencyFunc);
|
applicationUpdaterFrequency->setCallback(applicationUpdaterFrequencyFunc);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__IOS__)
|
||||||
auto browsingEventsToggleFunc = [customEventScriptsBrowsing]() {
|
auto browsingEventsToggleFunc = [customEventScriptsBrowsing]() {
|
||||||
if (customEventScriptsBrowsing->getEnabled()) {
|
if (customEventScriptsBrowsing->getEnabled()) {
|
||||||
customEventScriptsBrowsing->setEnabled(false);
|
customEventScriptsBrowsing->setEnabled(false);
|
||||||
|
@ -2155,6 +2156,7 @@ void GuiMenu::openOtherOptions()
|
||||||
};
|
};
|
||||||
|
|
||||||
customEventScripts->setCallback(browsingEventsToggleFunc);
|
customEventScripts->setCallback(browsingEventsToggleFunc);
|
||||||
|
#endif
|
||||||
|
|
||||||
s->setSize(mSize);
|
s->setSize(mSize);
|
||||||
mWindow->pushGui(s);
|
mWindow->pushGui(s);
|
||||||
|
|
Loading…
Reference in a new issue