forked from qt-creator/qt-creator
ProjectExplorer: Use runnable contents for appoutputpane re-use
Change-Id: I6dd4b9258321a23462bb6488b132aa9f3d1ed5c2 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -398,7 +398,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc)
|
||||
const int size = m_runControlTabs.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
RunControlTab &tab =m_runControlTabs[i];
|
||||
if (tab.runControl->sameRunConfiguration(rc) && !tab.runControl->isRunning()) {
|
||||
if (rc->canReUseOutputPane(tab.runControl)) {
|
||||
// Reuse this tab
|
||||
delete tab.runControl;
|
||||
tab.runControl = rc;
|
||||
|
||||
Reference in New Issue
Block a user