summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp2
1 files changed, 2 insertions, 0 deletions
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)