summaryrefslogtreecommitdiffstats
path: root/application/LaunchInteraction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/LaunchInteraction.cpp')
-rw-r--r--application/LaunchInteraction.cpp2
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);