Merge pull request #22 from greenshot/bugfix/BUG-1935_clipboard_retry

BUG-1935: increased retries and delay a bit.
This commit is contained in:
Robin Krom 2016-04-11 11:58:13 +02:00
commit 18f1a93b21

View file

@ -159,7 +159,8 @@ EndSelection:<<<<<<<4
} }
try try
{ {
Clipboard.SetDataObject(ido, copy, 5, 200); // For BUG-1935 this was changed from looping ourselfs, or letting MS retry...
Clipboard.SetDataObject(ido, copy, 15, 150);
} }
catch (Exception clipboardSetException) catch (Exception clipboardSetException)
{ {