mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-04 19:37:15 +03:00
Change the event hook for TWAIN initialization to fix issue with some drivers
This commit is contained in:
parent
6166625ece
commit
50c9698578
@ -122,7 +122,7 @@ namespace NAPS2.Scan.Twain
|
||||
};
|
||||
session.SourceDisabled += (sender, eventArgs) => twainForm.Close();
|
||||
|
||||
twainForm.Load += (sender, eventArgs) =>
|
||||
twainForm.Shown += (sender, eventArgs) =>
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user