aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/global/CustomCommandsPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/pages/global/CustomCommandsPage.cpp')
-rw-r--r--launcher/pages/global/CustomCommandsPage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/pages/global/CustomCommandsPage.cpp b/launcher/pages/global/CustomCommandsPage.cpp
index 3b182319..8a5c3445 100644
--- a/launcher/pages/global/CustomCommandsPage.cpp
+++ b/launcher/pages/global/CustomCommandsPage.cpp
@@ -32,7 +32,7 @@ bool CustomCommandsPage::apply()
void CustomCommandsPage::applySettings()
{
- auto s = MMC->settings();
+ auto s = LAUNCHER->settings();
s->set("PreLaunchCommand", commands->prelaunchCommand());
s->set("WrapperCommand", commands->wrapperCommand());
s->set("PostExitCommand", commands->postexitCommand());
@@ -40,7 +40,7 @@ void CustomCommandsPage::applySettings()
void CustomCommandsPage::loadSettings()
{
- auto s = MMC->settings();
+ auto s = LAUNCHER->settings();
commands->initialize(
false,
true,