解决色调曲线不能保存

This commit is contained in:
yangjiaxuan 2023-02-15 17:24:26 +08:00
parent 2ff095284d
commit 332673318d
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -2753,7 +2753,7 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="111"/>
<source>MicrotekScan</source>
<translation>Microtek DocWizard EX扫描软件</translation>
<translation type="unfinished">Microtek DocWizard EX </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="170"/>

View File

@ -1823,11 +1823,12 @@ void hg_settingdialog::on_current_scheme_changed()
{
title = QString::fromStdString(opt->title);
type = opt->type;
if(type == SANE_TYPE_STRING)
val = from_default_language(val.c_str(), nullptr);
break;
}
}
val = from_default_language(val.c_str(), nullptr);
if(title.length())
{
info += tr("<h6><b>") + title + tr(":</b></h6>");