GH-1339 do not destroy console window while screenshot upload is active

This commit is contained in:
Petr Mrázek committed 2015-12-03 23:00:51 +01:00
1 parent b5902b739e
commit a5b8f22eab
3 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ void ConsoleWindow::onSucceeded()
{
m_killButton->setEnabled(false);
setMayClose(true);
if (m_proc->instance()->settings()->get("AutoCloseConsole").toBool())
if (m_proc->instance()->settings()->get("AutoCloseConsole").toBool() && m_container->requestClose(nullptr))
{
this->close();
return;