Skip to content
Snippets Groups Projects
Commit 3282f85f authored by Vikas Pachdha's avatar Vikas Pachdha
Browse files

Update the application output tab's title


Output tab might be reused but title nevertheless be updated

Task-number: QTCREATORBUG-18109
Change-Id: I497fa3086e840131fbfcc81a5002da06ac70978f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@qt.io>
parent 3fe97650
No related branches found
No related tags found
No related merge requests found
......@@ -418,6 +418,10 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc)
delete tab.runControl;
handleOldOutput(tab.window);
tab.runControl = rc;
// Update the title.
m_tabWidget->setTabText(tabIndex, rc->displayName());
tab.window->setFormatter(nullptr);
tab.window->scrollToBottom();
if (debug)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment