fix for bur0k
This commit is contained in:
@@ -120,9 +120,11 @@ void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
|
||||
return;
|
||||
}
|
||||
|
||||
this->highlightState = newHighlightStyle;
|
||||
if (this->highlightState != HighlightState::Highlighted) {
|
||||
this->highlightState = newHighlightStyle;
|
||||
|
||||
this->update();
|
||||
this->update();
|
||||
}
|
||||
}
|
||||
|
||||
QRect NotebookTab::getDesiredRect() const
|
||||
|
||||
@@ -160,6 +160,8 @@ void SplitHeader::updateModerationModeIcon()
|
||||
this->moderationButton->setPixmap(this->split->getModerationMode()
|
||||
? resourceManager.moderationmode_enabled->getPixmap()
|
||||
: resourceManager.moderationmode_disabled->getPixmap());
|
||||
|
||||
this->moderationButton->setVisible(this->split->channel->hasModRights());
|
||||
}
|
||||
|
||||
void SplitHeader::paintEvent(QPaintEvent *)
|
||||
|
||||
Reference in New Issue
Block a user