mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-05 16:31:15 -05:00
Corrected scope GUI displays that depend on sample rate
This commit is contained in:
parent
770ea3c586
commit
2f195ce6de
@ -52,8 +52,6 @@ void GLScopeGUI::setBuddies(MessageQueue* messageQueue, ScopeVis* scopeVis, GLSc
|
||||
void GLScopeGUI::setSampleRate(int sampleRate)
|
||||
{
|
||||
m_sampleRate = sampleRate;
|
||||
setTimeScaleDisplay();
|
||||
setTimeOfsDisplay();
|
||||
}
|
||||
|
||||
void GLScopeGUI::resetToDefaults()
|
||||
@ -241,12 +239,19 @@ void GLScopeGUI::on_scope_traceSizeChanged(int)
|
||||
{
|
||||
setTimeScaleDisplay();
|
||||
setTimeOfsDisplay();
|
||||
setTrigPreDisplay();
|
||||
applySettings();
|
||||
applyTriggerSettings();
|
||||
}
|
||||
|
||||
void GLScopeGUI::on_scope_sampleRateChanged(int)
|
||||
{
|
||||
m_sampleRate = m_glScope->getSampleRate();
|
||||
setTimeScaleDisplay();
|
||||
setTimeOfsDisplay();
|
||||
setTrigPreDisplay();
|
||||
applySettings();
|
||||
applyTriggerSettings();
|
||||
}
|
||||
|
||||
void GLScopeGUI::setTimeScaleDisplay()
|
||||
|
Loading…
Reference in New Issue
Block a user