mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
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:
parent
cd190b1c07
commit
f442d5e7ee
2 changed files with 5 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue