summaryrefslogtreecommitdiffstats
path: root/application/pages/global/JavaPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-24 14:49:54 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-24 14:49:54 +0200
commitdfb0a3b724f624532557fe7cb20e8678560f444c (patch)
tree64ea831d95c2bb84c360c9f79559ffa5f7140467 /application/pages/global/JavaPage.cpp
parentce99fabe1396ed2956dc7ecb468760ef88f98765 (diff)
downloadMultiMC-dfb0a3b724f624532557fe7cb20e8678560f444c.tar
MultiMC-dfb0a3b724f624532557fe7cb20e8678560f444c.tar.gz
MultiMC-dfb0a3b724f624532557fe7cb20e8678560f444c.tar.lz
MultiMC-dfb0a3b724f624532557fe7cb20e8678560f444c.tar.xz
MultiMC-dfb0a3b724f624532557fe7cb20e8678560f444c.zip
GH-991 implement wrapper commands
Diffstat (limited to 'application/pages/global/JavaPage.cpp')
-rw-r--r--application/pages/global/JavaPage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/pages/global/JavaPage.cpp b/application/pages/global/JavaPage.cpp
index 3daf35dc..d201bb2f 100644
--- a/application/pages/global/JavaPage.cpp
+++ b/application/pages/global/JavaPage.cpp
@@ -70,6 +70,7 @@ void JavaPage::applySettings()
// Custom Commands
s->set("PreLaunchCommand", ui->preLaunchCmdTextBox->text());
+ s->set("WrapperCommand", ui->wrapperCmdTextBox->text());
s->set("PostExitCommand", ui->postExitCmdTextBox->text());
}
void JavaPage::loadSettings()
@@ -86,6 +87,7 @@ void JavaPage::loadSettings()
// Custom Commands
ui->preLaunchCmdTextBox->setText(s->get("PreLaunchCommand").toString());
+ ui->wrapperCmdTextBox->setText(s->get("WrapperCommand").toString());
ui->postExitCmdTextBox->setText(s->get("PostExitCommand").toString());
}