Fix for Windows-Capture exception, which was unfortunately added when fixing a focus issue.

This commit is contained in:
RKrom 2014-12-22 21:02:57 +01:00
commit b4b6c6546d
2 changed files with 4 additions and 4 deletions

View file

@ -932,7 +932,6 @@ namespace Greenshot.Helpers {
if (windowToCapture != null) {
captureForWindow.CaptureDetails.Title = windowToCapture.Text;
}
((Bitmap)captureForWindow.Image).SetResolution(captureForWindow.CaptureDetails.DpiX, captureForWindow.CaptureDetails.DpiY);
}
return captureForWindow;