From 057c4592a0260af3efca3f7871abf24d8ed77c5d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 12 May 2009 12:05:04 -0600 Subject: Fix switching to new tabs on /query --- src/gui/chat.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/chat.cpp') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 72c1976d..eca224fc 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -493,5 +493,8 @@ ChatTab *ChatWindow::addWhisperTab(const std::string &nick, bool switchTo) ChatTab *ret = mWhispers[tempNick] = new WhisperTab(nick); + if (switchTo) + mChatTabs->setSelectedTab(ret); + return ret; } -- cgit v1.2.3-70-g09d2