From a7d991706247db6b279a0c049d0b094632c7ec7d Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 28 Aug 2009 18:06:23 +0100 Subject: Put the selected tab title as the tabwidget title. #184 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()); + } } } -- cgit v0.10.2-6-g49f6