diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 12:05:04 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 12:05:21 -0600 |
commit | 057c4592a0260af3efca3f7871abf24d8ed77c5d (patch) | |
tree | 8e6fbbac9489b5693b1772b75663283aebfe6435 /src | |
parent | 29286a78abf94f71fcddad3b7e78a482d287fecd (diff) | |
download | mana-client-057c4592a0260af3efca3f7871abf24d8ed77c5d.tar.gz mana-client-057c4592a0260af3efca3f7871abf24d8ed77c5d.tar.bz2 mana-client-057c4592a0260af3efca3f7871abf24d8ed77c5d.tar.xz mana-client-057c4592a0260af3efca3f7871abf24d8ed77c5d.zip |
Fix switching to new tabs on /query
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/chat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |