diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-08-09 22:29:17 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-08-09 22:29:17 +0200 |
commit | 74b4343c43cb0f3fc85cf27d1159349d0b3f32e6 (patch) | |
tree | 5e32c9bfb0dc6f76e0404c581b3ca43a26ee3e35 /application/LaunchInteraction.cpp | |
parent | 877d1020db4acfd5085a27cad013b7d03177ba0b (diff) | |
download | MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.gz MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.lz MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.tar.xz MultiMC-74b4343c43cb0f3fc85cf27d1159349d0b3f32e6.zip |
GH-1642 fix instance launch from console
Diffstat (limited to 'application/LaunchInteraction.cpp')
-rw-r--r-- | application/LaunchInteraction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/LaunchInteraction.cpp b/application/LaunchInteraction.cpp index 80a3368d..0b601d49 100644 --- a/application/LaunchInteraction.cpp +++ b/application/LaunchInteraction.cpp @@ -217,7 +217,9 @@ void LaunchController::launchInstance() } else { + // this is used when launching directly from command line m_console = new InstanceWindow(m_instance); + m_console->setQuitOnClose(true); } connect(m_launcher.get(), &LaunchTask::readyForLaunch, this, &LaunchController::readyForLaunch); |