mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
GLScope redesign: when time offset is positive switch automatically to display memory index 01 to preserve correctness of display. Fixes #892
This commit is contained in:
parent
54df0bd21a
commit
3e9b4a4dee
@ -588,6 +588,12 @@ void GLScopeGUI::on_timeOfs_valueChanged(int value)
|
|||||||
m_timeOffset*10,
|
m_timeOffset*10,
|
||||||
(uint32_t) (m_glScope->getTraceSize() * (ui->trigPre->value()/100.0f)),
|
(uint32_t) (m_glScope->getTraceSize() * (ui->trigPre->value()/100.0f)),
|
||||||
ui->freerun->isChecked());
|
ui->freerun->isChecked());
|
||||||
|
|
||||||
|
if (value > 0)
|
||||||
|
{
|
||||||
|
ui->mem->setValue(1);
|
||||||
|
ui->memText->setText("01");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLScopeGUI::on_traceLen_valueChanged(int value)
|
void GLScopeGUI::on_traceLen_valueChanged(int value)
|
||||||
|
Loading…
Reference in New Issue
Block a user