summaryrefslogtreecommitdiff
path: root/plugingui/textedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/textedit.cc')
-rw-r--r--plugingui/textedit.cc5
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;