Tried chaning the color of the split when a channel is live

This commit is contained in:
apa420
2018-08-14 16:29:52 +02:00
parent 93bbe33664
commit b671fc4133
7 changed files with 22 additions and 6 deletions
+4 -2
View File
@@ -169,8 +169,8 @@ void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
if (this->isSelected()) {
return;
}
if (this->highlightState_ != HighlightState::Highlighted) {
if (this->highlightState_ != HighlightState::Highlighted &&
this->highlightState_ != HighlightState::Notification) {
this->highlightState_ = newHighlightStyle;
this->update();
@@ -237,6 +237,8 @@ void NotebookTab::paintEvent(QPaintEvent *)
colors = this->theme->tabs.selected;
} else if (this->highlightState_ == HighlightState::Highlighted) {
colors = this->theme->tabs.highlighted;
} else if (this->highlightState_ == HighlightState::Notification) {
colors = this->theme->tabs.notified;
} else if (this->highlightState_ == HighlightState::NewMessage) {
colors = this->theme->tabs.newMessage;
} else {