From caf3cad2da9945e48fc2104404460f639c71a6b0 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 30 Mar 2009 18:33:00 -0600 Subject: Hilight chat tabs when appropriate --- src/gui/widgets/chattab.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/chattab.cpp') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 4a63bbcd..43248e8b 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -207,6 +207,8 @@ void ChatTab::chatLog(std::string line, int own, bool ignoreRecord) mScrollArea->logic(); chatWindow->mRecorder->record(line.substr(3)); + if (this != getTabbedArea()->getSelectedTab()) + setHighlighted(true); } void ChatTab::chatLog(const std::string &nick, const std::string &msg) -- cgit v1.2.3-60-g2f50