trigger sidebar status widget repaints on color change

old-commit-hash: 1c89825d86
This commit is contained in:
Adeeb Shihadeh
2021-04-30 14:01:49 -07:00
parent ec7913cbe5
commit 8b38c339f6
+5 -1
View File
@@ -46,7 +46,11 @@ void StatusWidget::paintEvent(QPaintEvent *e){
void StatusWidget::update(QString label, QString msg, QColor c) {
status.setText(label);
substatus.setText(msg);
color = c;
if (color != c) {
color = c;
repaint();
}
return;
}