Commit 3282f85f authored by Vikas Pachdha's avatar Vikas Pachdha

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: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 3fe97650
......@@ -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)
......
Markdown is supported
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