From b41433ed1583a82dbd9dd144ba4ac2908dc604d2 Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Wed, 16 Aug 2023 18:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9twain=E6=BA=90=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=B8=BB=E7=AA=97=E5=8F=A3=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner2/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index 348e6f20..151ba951 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -4455,6 +4455,8 @@ void MainWindow::on_act_selectDevice_triggered() updateActionStatus(); } + this->setEnabled(false); + DeviceUser *devUser = m_devUserMgr->OpenDeviceUser(); if (devUser != nullptr) { @@ -4475,4 +4477,6 @@ void MainWindow::on_act_selectDevice_triggered() delete devUser; } } + + this->setEnabled(true); }