summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtChatTabs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index 60beb50..19bf9ba 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -80,6 +80,7 @@ void QtChatTabs::handleWidgetShown() {
}
checkForFirstShow();
if (tabs_->indexOf(widget) >= 0) {
+ handleTabTitleUpdated(widget);
return;
}
addTab(widget);
@@ -95,6 +96,7 @@ void QtChatTabs::handleWantsToActivate() {
show();
widget->show();
tabs_->setCurrentWidget(widget);
+ handleTabTitleUpdated(widget);
widget->setFocus();
raise();
activateWindow();