summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriambob314 <iambob314@gmail.com>2015-09-05 19:39:13 -0400
committeriambob314 <iambob314@gmail.com>2015-09-05 19:39:13 -0400
commit6148023ad632963596163a28b9074ad0cd52c56d (patch)
treefcf517dbfad2a0738bd6cf6122e41584801ac986
parent6496c65285772977741647178681354da2331a84 (diff)
downloadMultiMC-6148023ad632963596163a28b9074ad0cd52c56d.tar
MultiMC-6148023ad632963596163a28b9074ad0cd52c56d.tar.gz
MultiMC-6148023ad632963596163a28b9074ad0cd52c56d.tar.lz
MultiMC-6148023ad632963596163a28b9074ad0cd52c56d.tar.xz
MultiMC-6148023ad632963596163a28b9074ad0cd52c56d.zip
Fixed overwriting of wrapper command
Fixed "WrapperCommand" setting being overwritten by the value of "PreLaunchCommand".
-rw-r--r--application/pages/InstanceSettingsPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/InstanceSettingsPage.cpp b/application/pages/InstanceSettingsPage.cpp
index c651fcbd..91b997d6 100644
--- a/application/pages/InstanceSettingsPage.cpp
+++ b/application/pages/InstanceSettingsPage.cpp
@@ -119,7 +119,7 @@ void InstanceSettingsPage::applySettings()
if (custcmd)
{
m_settings->set("PreLaunchCommand", ui->preLaunchCmdTextBox->text());
- m_settings->set("WrapperCommand", ui->preLaunchCmdTextBox->text());
+ m_settings->set("WrapperCommand", ui->wrapperCmdTextBox->text());
m_settings->set("PostExitCommand", ui->postExitCmdTextBox->text());
}
else