summaryrefslogtreecommitdiff
path: root/plugingui/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/label.cc')
-rw-r--r--plugingui/label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/label.cc b/plugingui/label.cc
index 2ff4f36..781dbca 100644
--- a/plugingui/label.cc
+++ b/plugingui/label.cc
@@ -39,7 +39,7 @@ Label::Label(Widget *parent)
void Label::setText(const std::string& text)
{
_text = text;
- repaintEvent(nullptr);
+ redraw();
}
void Label::setAlignment(TextAlignment alignment)