From 7467e1d0e2a48c502bf568a4d7124ac9e77b56dd Mon Sep 17 00:00:00 2001 From: apa420 Date: Fri, 26 Oct 2018 23:29:07 +0200 Subject: [PATCH] Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled --- src/widgets/helper/NotebookTab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index 0f793b93..cbb801a4 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -199,7 +199,8 @@ void NotebookTab::setLive(bool isLive) void NotebookTab::setHighlightState(HighlightState newHighlightStyle) { - if (this->isSelected() || !this->highlightEnabled_) + if (this->isSelected() || (!this->highlightEnabled_ && + newHighlightStyle == HighlightState::NewMessage)) { return; }