diff --git a/sdrgui/gui/glscopemulti.cpp b/sdrgui/gui/glscopemulti.cpp index c963f63b2..d3d9549b4 100644 --- a/sdrgui/gui/glscopemulti.cpp +++ b/sdrgui/gui/glscopemulti.cpp @@ -1032,7 +1032,7 @@ void GLScopeMulti::applyConfig() m_q3TickY1.allocate(4*m_y1Scale.getTickList().count()); m_q3TickY2.allocate(4*m_y2Scale.getTickList().count()); m_q3TickX1.allocate(4*m_x1Scale.getTickList().count()); - m_q3TickX2.allocate(4*m_x1Scale.getTickList().count()); + m_q3TickX2.allocate(4*m_x2Scale.getTickList().count()); int start = (m_timeOfsProMill/1000.0) * m_traceSize; int end = std::min(start + m_traceSize/m_timeBase, m_traceSize); diff --git a/sdrgui/gui/glscopeng.cpp b/sdrgui/gui/glscopeng.cpp index 3210eff9b..30f32bac0 100644 --- a/sdrgui/gui/glscopeng.cpp +++ b/sdrgui/gui/glscopeng.cpp @@ -1032,7 +1032,7 @@ void GLScopeNG::applyConfig() m_q3TickY1.allocate(4*m_y1Scale.getTickList().count()); m_q3TickY2.allocate(4*m_y2Scale.getTickList().count()); m_q3TickX1.allocate(4*m_x1Scale.getTickList().count()); - m_q3TickX2.allocate(4*m_x1Scale.getTickList().count()); + m_q3TickX2.allocate(4*m_x2Scale.getTickList().count()); int start = (m_timeOfsProMill/1000.0) * m_traceSize; int end = std::min(start + m_traceSize/m_timeBase, m_traceSize);