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"));