summaryrefslogtreecommitdiff
path: root/plugingui/tabbutton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/tabbutton.cc')
-rw-r--r--plugingui/tabbutton.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/tabbutton.cc b/plugingui/tabbutton.cc
index f46daa4..845dedb 100644
--- a/plugingui/tabbutton.cc
+++ b/plugingui/tabbutton.cc
@@ -106,6 +106,11 @@ void TabButton::repaintEvent(RepaintEvent* e)
p.drawText(x, y, font, text, true);
}
+void TabButton::scrollEvent(ScrollEvent* scroll_event)
+{
+ scrollNotifier(scroll_event->delta);
+}
+
void TabButton::clickHandler()
{
switchTabNotifier(tab_widget);