diff options
Diffstat (limited to 'plugingui/textedit.cc')
-rw-r--r-- | plugingui/textedit.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc index 357454e..63b4cd4 100644 --- a/plugingui/textedit.cc +++ b/plugingui/textedit.cc @@ -190,6 +190,11 @@ void TextEdit::repaintEvent(RepaintEvent* repaintEvent) } } +void TextEdit::scrollEvent(ScrollEvent* scrollEvent) +{ + scroll.setValue(scroll.value() + scrollEvent->delta); +} + void TextEdit::scrolled(int value) { (void)value; |