From b9371494aae78ecb97013ffa2944ad5554177214 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Wed, 23 Nov 2022 22:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E8=87=AA=E5=8A=A8=E4=BF=9D?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index ac14f967..091b10b3 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -317,6 +317,7 @@ MainWindow::MainWindow(QWidget *parent) m_dialogLog->updateStatus(!dev_que_.opened_scanner_name().empty() && 0 != m_scanType, m_isScanning); updateActionStatus(); ui->act_autoSave->setChecked(getCfgValue("save", "autoSave", false)); + auto_save_changes_ = ui->act_autoSave->isChecked(); ui->act_autoSave->setText(tr("auto save")); ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding"));