summaryrefslogtreecommitdiffstats
path: root/src/widget/wlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wlabel.cpp')
-rw-r--r--src/widget/wlabel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widget/wlabel.cpp b/src/widget/wlabel.cpp
index 60ef03b071..48404061b2 100644
--- a/src/widget/wlabel.cpp
+++ b/src/widget/wlabel.cpp
@@ -155,6 +155,9 @@ int WLabel::getHighlight() const {
}
void WLabel::setHighlight(int highlight) {
+ if (m_highlight == highlight) {
+ return;
+ }
m_highlight = highlight;
emit highlightChanged(m_highlight);
}