mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled
This commit is contained in:
parent
f3235d036d
commit
7467e1d0e2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue