GLScope redesign: when time offset is positive switch automatically to display memory index 01 to preserve correctness of display. Fixes #892

pull/916/head
f4exb 2021-06-02 21:20:01 +02:00
rodzic 54df0bd21a
commit 3e9b4a4dee
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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)