Fixed issue that opening an image from the clipboard or file system still makes the editor ask for a save.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1663 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-02-17 16:32:02 +00:00
commit f442d5e7ee
2 changed files with 5 additions and 6 deletions

View file

@ -98,7 +98,7 @@ namespace Greenshot.Destinations {
GC.WaitForPendingFinalizers();
try {
ImageEditorForm editorForm = new ImageEditorForm(surface, false); // Output made??
ImageEditorForm editorForm = new ImageEditorForm(surface, !surface.Modified); // Output made??
if (!string.IsNullOrEmpty(captureDetails.Filename)) {
editorForm.SetImagePath(captureDetails.Filename);