mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
remove pointless condition in setHighlightState
I put it there last night and I think I forgot about it :)
This commit is contained in:
parent
b38bfd4feb
commit
5e25722d9a
|
@ -220,8 +220,7 @@ void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (this->highlightState_ != HighlightState::Highlighted &&
|
||||
this->highlightColor_ == nullptr)
|
||||
if (this->highlightState_ != HighlightState::Highlighted)
|
||||
{
|
||||
this->highlightState_ = newHighlightStyle;
|
||||
|
||||
|
|
Loading…
Reference in a new issue