Change the event hook for TWAIN initialization to fix issue with some drivers

This commit is contained in:
Ben Olden-Cooligan 2015-06-24 15:44:14 -04:00
parent 6166625ece
commit 50c9698578

View File

@ -122,7 +122,7 @@ namespace NAPS2.Scan.Twain
};
session.SourceDisabled += (sender, eventArgs) => twainForm.Close();
twainForm.Load += (sender, eventArgs) =>
twainForm.Shown += (sender, eventArgs) =>
{
try
{