Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled
This commit is contained in:
@@ -199,7 +199,8 @@ void NotebookTab::setLive(bool isLive)
|
|||||||
|
|
||||||
void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
||||||
{
|
{
|
||||||
if (this->isSelected() || !this->highlightEnabled_)
|
if (this->isSelected() || (!this->highlightEnabled_ &&
|
||||||
|
newHighlightStyle == HighlightState::NewMessage))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user