From 105a7f3550e54dcc0472ffa1f456b84360cfb184 Mon Sep 17 00:00:00 2001 From: Arash Aletayeb Date: Sat, 9 Dec 2023 10:58:04 +0330 Subject: [PATCH] Bug fixing --- developHw.pro.user | 2 +- mainwindow.cpp | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/developHw.pro.user b/developHw.pro.user index 5923cef..1620762 100644 --- a/developHw.pro.user +++ b/developHw.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/mainwindow.cpp b/mainwindow.cpp index 902b12c..4196d53 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1418,11 +1418,6 @@ void MainWindow::on_cb_selectedProbe_currentIndexChanged(int index) { on_btn_scenStart_clicked(); } - else if(ui->chk_powerAo->isChecked()) - { - on_chk_powerAo_clicked(false); - ui->chk_powerAo->setChecked(false); - } if(indx == 0) { @@ -2379,11 +2374,6 @@ void MainWindow::on_btn_setAo_clicked() { on_btn_scenStart_clicked(); } - else - { - on_chk_powerAo_clicked(false); - ui->chk_powerAo->setChecked(false); - } } } catch(SonoException& e) @@ -5379,14 +5369,6 @@ void MainWindow::exitApp() void MainWindow::on_chk_powerAo_clicked(bool checked) { _trx.powerAo(checked); - if(checked) - { - delay(100); - if(!hvPermission()) - { - _trx.powerAo(false); - } - } } /*************************************************************************************************/