From be21b41ed39163064c5960e493b54a5e796e7fd9 Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Wed, 22 Feb 2023 14:06:52 +0800 Subject: [PATCH] Disabled the decoder pannel on DSO mode --- DSView/pv/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DSView/pv/mainwindow.cpp b/DSView/pv/mainwindow.cpp index db083a82..b00fa88f 100644 --- a/DSView/pv/mainwindow.cpp +++ b/DSView/pv/mainwindow.cpp @@ -1119,16 +1119,16 @@ namespace pv break; case Qt::Key_D: - on_protocol(!_protocol_dock->isVisible()); + if (_session->get_device()->get_work_mode() == LOGIC) + on_protocol(!_protocol_dock->isVisible()); break; case Qt::Key_M: on_measure(!_measure_dock->isVisible()); break; case Qt::Key_R: - if (_session->get_device()->get_work_mode() == LOGIC){ + if (_session->get_device()->get_work_mode() == LOGIC) on_search(!_search_dock->isVisible()); - } break; case Qt::Key_O: _sampling_bar->config_device();