mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
GLScope: fixed X2 frequency scale setting
This commit is contained in:
parent
824e13d595
commit
7e8db84e67
@ -1093,9 +1093,9 @@ void GLScope::applyConfig()
|
||||
else
|
||||
{
|
||||
if (m_xScaleFreq) {
|
||||
m_x2Scale.setRange(Unit::Time, t_start, t_start + t_len); // time scale
|
||||
} else {
|
||||
m_x2Scale.setRange(Unit::Frequency, m_xScaleCenterFrequency - (m_xScaleFrequencySpan/2), m_xScaleCenterFrequency + (m_xScaleFrequencySpan/2));
|
||||
} else {
|
||||
m_x2Scale.setRange(Unit::Time, t_start, t_start + t_len); // time scale
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user