GH-1642 fix instance launch from console
This commit is contained in:
1 parent
877d1020db
commit
74b4343c43
6 files changed
+17
-6
No files matched your search
@@ -157,6 +157,11 @@ void InstanceWindow::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
emit isClosing();
|
||||
event->accept();
|
||||
if(m_shouldQuit)
|
||||
{
|
||||
// this needs to be delayed so we don't do horrible things
|
||||
QMetaObject::invokeMethod(MMC, "quit", Qt::QueuedConnection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user