diff --git a/sdrbase/gui/glscopegui.cpp b/sdrbase/gui/glscopegui.cpp index 5be3d29c7..5482666aa 100644 --- a/sdrbase/gui/glscopegui.cpp +++ b/sdrbase/gui/glscopegui.cpp @@ -244,7 +244,7 @@ void GLScopeGUI::setTrigLevelDisplay() { qreal a; - if (m_glScope->getDataMode() == GLScope::ModeMagLinPha) { + if (m_triggerChannel == ScopeVis::TriggerMagLin) { a = 1.0 + t; } else { a = t;