修改模态显示扫描后不自动关闭UI

This commit is contained in:
masayume 2020-12-20 15:32:10 +08:00
parent 359ee319eb
commit 40e5903aca
2 changed files with 0 additions and 7 deletions

View File

@ -1146,7 +1146,6 @@ Result HuagaoDs::identityOpenDs(const Identity&) {
case Msg::GetCurrent:
case Msg::GetDefault:
{
FileTools::write_log("D:\\1.txt", "getfwversion");
std::string ser = scanner->GetFWVersion();
Str255 str;
str.setData(ser.c_str(), ser.size());
@ -2417,12 +2416,6 @@ Result HuagaoDs::pendingXfersEnd(const Identity&, PendingXfers& data) {
#endif // G200
}
m_pendingXfers = 0;
if (m_modal)
{
::EnableWindow(parent, true);
m_modal = false;
notifyCloseCancel();
}
if (guiTwain.get()) {
((CTwainUI*)(guiTwain.get()))->EnableID_OKorID_Cancel(true);
}

Binary file not shown.