Commit e3171643 authored by Daniel Teske's avatar Daniel Teske
Browse files

Application Output: Close pane if the last tab is closed



Change-Id: I782aab3895f27b801c9517cf9ef21f4a474612fd
Task-number: QTCREATORBUG-14395
Reviewed-by: default avatarMitch Curtis <mitch.curtis@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent fa401b8f
......@@ -517,6 +517,10 @@ bool AppOutputPane::closeTab(int tabIndex, CloseTabMode closeTabMode)
delete m_runControlTabs[index].window;
m_runControlTabs.removeAt(index);
updateCloseActions();
if (m_runControlTabs.isEmpty())
hide();
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment