1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -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:
f4exb 2021-06-02 21:20:01 +02:00
parent 54df0bd21a
commit 3e9b4a4dee

View File

@ -588,6 +588,12 @@ void GLScopeGUI::on_timeOfs_valueChanged(int value)
m_timeOffset*10,
(uint32_t) (m_glScope->getTraceSize() * (ui->trigPre->value()/100.0f)),
ui->freerun->isChecked());
if (value > 0)
{
ui->mem->setValue(1);
ui->memText->setText("01");
}
}
void GLScopeGUI::on_traceLen_valueChanged(int value)