remove pointless condition in setHighlightState

I put it there last night and I think I forgot about it :)
This commit is contained in:
tuckerrrrrrrrrrrr 2020-02-16 09:45:11 -08:00
parent b38bfd4feb
commit 5e25722d9a

View file

@ -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;