mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +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
1 changed files with 1 additions and 2 deletions
|
@ -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