1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 01:06:35 -04:00

Merge pull request #1611 from srcejon/fix_zoom_and_scroll

Prevent MDI scrolling when trying to zoom in on spectrum.
This commit is contained in:
Edouard Griffiths 2023-03-04 08:13:43 +01:00 committed by GitHub
commit 372419addc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4285,6 +4285,7 @@ void GLSpectrumView::wheelEvent(QWheelEvent *event)
channelMarkerMove(event, 1); channelMarkerMove(event, 1);
} }
} }
event->accept();
} }
void GLSpectrumView::zoomFactor(const QPointF& p, float factor) void GLSpectrumView::zoomFactor(const QPointF& p, float factor)