This commit is contained in:
parent
02e9a1b5ec
commit
183b20afe0
|
@ -610,11 +610,6 @@ HGResult HGTwainDSImpl::Enable(HGBool showUI, HWND parent, HGDSCloseReqFunc even
|
||||||
return HGTWAIN_ERR_FAIL;
|
return HGTWAIN_ERR_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!showUI)
|
|
||||||
{
|
|
||||||
HGBase_SetEvent(m_event);
|
|
||||||
}
|
|
||||||
|
|
||||||
m_showUI = showUI;
|
m_showUI = showUI;
|
||||||
m_parent = parent;
|
m_parent = parent;
|
||||||
m_eventFunc = eventFunc;
|
m_eventFunc = eventFunc;
|
||||||
|
@ -993,6 +988,7 @@ void HGAPI HGTwainDSImpl::ThreadFunc(HGThread thread, HGPointer param)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!p->m_showUI)
|
||||||
p->Disable();
|
p->Disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue