(Windows) OCD commit.

This commit is contained in:
Leon Styhre 2021-06-30 18:14:33 +02:00
parent 0b47a90b3e
commit 81e90e942b

View file

@ -1203,7 +1203,7 @@ void GuiMenu::openOtherOptions()
#if defined(_WIN64)
// Switch callback.
auto launchWorkAroundToggleFunc = [launch_workaround]() {
auto launchWorkaroundToggleFunc = [launch_workaround]() {
if (launch_workaround->getEnabled()) {
launch_workaround->setEnabled(false);
launch_workaround->setOpacity(DISABLED_OPACITY);
@ -1217,7 +1217,7 @@ void GuiMenu::openOtherOptions()
getChildIndex() - 1)->setOpacity(255);
}
};
run_in_background->setCallback(launchWorkAroundToggleFunc);
run_in_background->setCallback(launchWorkaroundToggleFunc);
#endif
mWindow->pushGui(s);