diff --git a/sdrgui/gui/glspectrum.cpp b/sdrgui/gui/glspectrum.cpp index 69c95cb27..8e24ae9ee 100644 --- a/sdrgui/gui/glspectrum.cpp +++ b/sdrgui/gui/glspectrum.cpp @@ -3363,7 +3363,7 @@ void GLSpectrum::wheelEvent(QWheelEvent *event) #else const QPointF& ep = event->pos(); #endif - if (pointInWaterfallOrSpectrogram(ep)) + if (m_display3DSpectrogram && pointInWaterfallOrSpectrogram(ep)) { // Scale 3D spectrogram when mouse wheel moved // Some mice use delta in steps of 120 for 15 degrees