ChannelAnalyzer: apply fix for #892 only if the current trace mode is live trace. Fixes #1375

This commit is contained in:
f4exb 2022-08-04 23:43:18 +02:00
parent 30349f218e
commit fd98de7b38
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ void GLScopeGUI::on_timeOfs_valueChanged(int value)
ui->freerun->isChecked()
);
if (value > 0)
if ((value > 0) && (ui->mem->value() == 0)) // switch from live to memory trace
{
ui->mem->setValue(1);
ui->memText->setText("01");