From 459aae2dad8745cc743001d3eae58d85d3ef9c96 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 3 Mar 2023 22:16:29 +0000 Subject: [PATCH] Prevent MDI scrolling when trying to zoom in on spectrum. --- sdrgui/gui/glspectrumview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrgui/gui/glspectrumview.cpp b/sdrgui/gui/glspectrumview.cpp index c12df6945..a557ff6d6 100644 --- a/sdrgui/gui/glspectrumview.cpp +++ b/sdrgui/gui/glspectrumview.cpp @@ -4285,6 +4285,7 @@ void GLSpectrumView::wheelEvent(QWheelEvent *event) channelMarkerMove(event, 1); } } + event->accept(); } void GLSpectrumView::zoomFactor(const QPointF& p, float factor)