summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index e12f417e8..ee135f686 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -421,7 +421,9 @@ struct MainWindow : Window
virtual void OnMouseWheel(int wheel)
{
- ZoomInOrOutToCursorWindow(wheel < 0, this);
+ if (_settings_client.gui.scrollwheel_scrolling == 0) {
+ ZoomInOrOutToCursorWindow(wheel < 0, this);
+ }
}
virtual void OnResize()