From 8f00ac5023dd91c707b648c8f9af6e03ff89c9de Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 4 Oct 2009 19:46:33 +0100
Subject: Give chat input focus when a tab is selected


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);
-- 
cgit v0.10.2-6-g49f6