diff options
Diffstat (limited to 'Swift/QtUI/QtChatTabs.cpp')
-rw-r--r-- | Swift/QtUI/QtChatTabs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp index e1f4e86..a896dc9 100644 --- a/Swift/QtUI/QtChatTabs.cpp +++ b/Swift/QtUI/QtChatTabs.cpp @@ -77,6 +77,9 @@ void QtChatTabs::handleTabTitleUpdated() { return; } tabs_->setTabText(index, widget->windowTitle()); + if (widget == tabs_->currentWidget()) { + setWindowTitle(widget->windowTitle()); + } } } |