diff options
Diffstat (limited to 'plugingui/textedit.cc')
-rw-r--r-- | plugingui/textedit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc index 6274d37..4e94566 100644 --- a/plugingui/textedit.cc +++ b/plugingui/textedit.cc @@ -83,7 +83,7 @@ void TextEdit::setText(const std::string& text) scroll.setRange(ran); scroll.setMaximum(preprocessedtext.size()); - repaintEvent(nullptr); + redraw(); textChangedNotifier(); } @@ -190,7 +190,7 @@ void TextEdit::repaintEvent(RepaintEvent* repaintEvent) void TextEdit::scrolled(int value) { (void)value; - repaintEvent(nullptr); + redraw(); } } // GUI:: |