Commit 0d594fef authored by Mariusz Glebocki's avatar Mariusz Glebocki Committed by Kurt Hindenburg
Browse files

Update tab title only when new title comes from active split

parent e2385f73
......@@ -550,7 +550,9 @@ void TabbedViewContainer::updateTitle(ViewProperties *item)
auto controller = qobject_cast<SessionController*>(item);
auto topLevelSplitter = qobject_cast<ViewSplitter*>(controller->view()->parentWidget())->getToplevelSplitter();
if (controller->view() != topLevelSplitter->activeTerminalDisplay()) {
const int index = indexOf(topLevelSplitter);
QString tabText = item->title();
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