diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-10-04 18:46:33 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-10-04 18:46:33 (GMT) |
commit | 8f00ac5023dd91c707b648c8f9af6e03ff89c9de (patch) | |
tree | 0f1dadba6a978a4cba637b720b802210ba4f4064 | |
parent | f2009dabdf83fb6a5151a3b5b1277edbe79f0ad2 (diff) | |
download | swift-contrib-8f00ac5023dd91c707b648c8f9af6e03ff89c9de.zip swift-contrib-8f00ac5023dd91c707b648c8f9af6e03ff89c9de.tar.bz2 |
Give chat input focus when a tab is selected
-rw-r--r-- | Swift/QtUI/QtChatTabs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp index 3d66e0a..e36b65b 100644 --- a/Swift/QtUI/QtChatTabs.cpp +++ b/Swift/QtUI/QtChatTabs.cpp @@ -46,6 +46,7 @@ void QtChatTabs::handleWidgetShown() { return; } if (tabs_->indexOf(widget) >= 0) { + widget->setFocus(); return; } addTab(widget); |