From 74b4343c43cb0f3fc85cf27d1159349d0b3f32e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 9 Aug 2016 22:29:17 +0200 Subject: GH-1642 fix instance launch from console --- application/LaunchInteraction.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/LaunchInteraction.cpp') 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); -- cgit v1.2.3