From d19e62862b28f9a8f9c2e59f1b8407a205ea6685 Mon Sep 17 00:00:00 2001 From: Kizarm Date: Mon, 21 Oct 2024 14:58:13 +0200 Subject: [PATCH] bug - time switching --- V203/usb/scope/software/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/V203/usb/scope/software/mainwindow.cpp b/V203/usb/scope/software/mainwindow.cpp index 06a3a8e..27f1a77 100644 --- a/V203/usb/scope/software/mainwindow.cpp +++ b/V203/usb/scope/software/mainwindow.cpp @@ -79,6 +79,8 @@ void MainWindow::TriggerValues (int n) { void MainWindow::SendTrigerMode (int n) { if (n == TRIGER_MODE_SINGLE) ui->buttonStart->setEnabled(true); else ui->buttonStart->setEnabled(false); + if (n == TRIGER_MODE_AUTO) ui->comboTimeRange->setEnabled(true); // BUG - jinak dojde při přepínání k chybě + else ui->comboTimeRange->setEnabled(false); // TODO firmware.SendTrigerMode(n); } void MainWindow::SendTrigerEdge (int n) {