lanxum save

This commit is contained in:
13038267101 2022-07-26 17:35:01 +08:00
parent ca5413c747
commit 2ad22b6c7f
1 changed files with 9 additions and 1 deletions

View File

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