diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index 92fe6f3f..96867fe5 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -81,6 +81,7 @@ MainWindow::MainWindow(QWidget *parent) #elif defined(OEM_LISICHENG) this->setWindowIcon(QIcon(":images/image_rsc/logo/Lanxum_logo.ico")); this->setWindowTitle(tr("LanxumScan")); + auto_save_changes_ = true; #else this->setWindowIcon(QIcon(":images/image_rsc/logo/logo.ico")); this->setWindowTitle(tr("HuaGoScan")); @@ -286,7 +287,14 @@ MainWindow::MainWindow(QWidget *parent) updateActionStatus(); ui->act_autoSave->setChecked(auto_save_changes_); ui->act_autoSave->setText(tr("auto save")); - ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding")); + +#if defined(OEM_LISICHENG) + ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding")); +#else + + ui->act_autoSave->setToolTip(tr("when switching pictures, save the edited pictures directly without reminding")); +#endif + auto_save_info_.index = 0; ui->act_device_log->setEnabled(false);