summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/spinbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/spinbutton.cpp')
-rw-r--r--src/ui/widget/spinbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp
index 3f99dd2cc..a7cde41d5 100644
--- a/src/ui/widget/spinbutton.cpp
+++ b/src/ui/widget/spinbutton.cpp
@@ -69,7 +69,7 @@ bool SpinButton::on_my_focus_in_event(GdkEventFocus* /*event*/)
bool SpinButton::on_my_scroll_event(GdkEventScroll* event)
{
if (!property_has_focus()) {
- return true;
+ return false;
}
double step, page;
get_increments(step, page);
@@ -88,7 +88,7 @@ bool SpinButton::on_my_scroll_event(GdkEventScroll* event)
return false;
}
set_value(get_value() + change);
- return false;
+ return true;
}
bool SpinButton::on_my_key_press_event(GdkEventKey* event)