{"action":"created","issue":{"url":"https://api.github.com/repos/ShareX/ShareX/issues/980","labels_url":"https://api.github.com/repos/ShareX/ShareX/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/ShareX/ShareX/issues/980/comments","events_url":"https://api.github.com/repos/ShareX/ShareX/issues/980/events","html_url":"https://github.com/ShareX/ShareX/issues/980","id":105408040,"number":980,"title":"[Request] Add option to Greenshot to \"never save\"","user":{"login":"ben-summers","id":972270,"avatar_url":"https://avatars.githubusercontent.com/u/972270?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-summers","html_url":"https://github.com/ben-summers","followers_url":"https://api.github.com/users/ben-summers/followers","following_url":"https://api.github.com/users/ben-summers/following{/other_user}","gists_url":"https://api.github.com/users/ben-summers/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-summers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-summers/subscriptions","organizations_url":"https://api.github.com/users/ben-summers/orgs","repos_url":"https://api.github.com/users/ben-summers/repos","events_url":"https://api.github.com/users/ben-summers/events{/privacy}","received_events_url":"https://api.github.com/users/ben-summers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T15:38:23Z","updated_at":"2015-09-08T18:52:44Z","closed_at":null,"body":"I take a lot of one-off screenshots that I either paste into some other program or upload to a hosting service, after which time I no longer care about the image in the editor. Frequently what happens is I find that I have a lot of Greenshot windows open that I'd like to close all at once, but if I've done any edit actions on the image then I have to go through and pick \"No\" in each of the file save dialogs. In Windows 7 at least, this seems particularly painful because I have to select each one of the windows before I can dismiss the dialog. \r\n\r\nIt would be really nice to have a setting that would have the effect of \"I never care about the contents of any editor, and if a command is issued to close the window then I'll just close it immediately no matter what.\""},"comment":{"url":"https://api.github.com/repos/ShareX/ShareX/issues/comments/138668632","html_url":"https://github.com/ShareX/ShareX/issues/980#issuecomment-138668632","issue_url":"https://api.github.com/repos/ShareX/ShareX/issues/980","id":138668632,"user":{"login":"ben-summers","id":972270,"avatar_url":"https://avatars.githubusercontent.com/u/972270?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-summers","html_url":"https://github.com/ben-summers","followers_url":"https://api.github.com/users/ben-summers/followers","following_url":"https://api.github.com/users/ben-summers/following{/other_user}","gists_url":"https://api.github.com/users/ben-summers/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-summers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-summers/subscriptions","organizations_url":"https://api.github.com/users/ben-summers/orgs","repos_url":"https://api.github.com/users/ben-summers/repos","events_url":"https://api.github.com/users/ben-summers/events{/privacy}","received_events_url":"https://api.github.com/users/ben-summers/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T18:52:44Z","updated_at":"2015-09-08T18:52:44Z","body":"I see that this feature is already built in to the code. Maybe it's just not exposed in the menus? I can't find it anywhere. \r\n\r\nGreenshot.ImageEditor\\Forms\\ImageEditorForm.cs\r\n````cs\r\nif (!editorConfiguration.SuppressSaveDialogAtClose)\r\n                {\r\n                    // Make sure the editor is visible\r\n                    WindowDetails.ToForeground(Handle);\r\n\r\n                    MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;\r\n                    // Dissallow \"CANCEL\" if the application needs to shutdown\r\n                    if (e.CloseReason == CloseReason.ApplicationExitCall || e.CloseReason == CloseReason.WindowsShutDown || e.CloseReason == CloseReason.TaskManagerClosing)\r\n                    {\r\n                        buttons = MessageBoxButtons.YesNo;\r\n                    }\r\n\r\n                    DialogResult result = MessageBox.Show(\"Do you want to save the screenshot?\", \"Save confirmation\", buttons, MessageBoxIcon.Question);\r\n\r\n                    if (result == DialogResult.Cancel)\r\n                    {\r\n                        e.Cancel = true;\r\n                        return;\r\n                    }\r\n\r\n                    if (result == DialogResult.Yes)\r\n                    {\r\n                        DialogResult = DialogResult.OK;\r\n                        OnImageSaveRequested();\r\n                    }\r\n                }\r\n                else\r\n                {\r\n                    DialogResult = DialogResult.OK;\r\n                }\r\n````\r\n\r\nI see that I can fix it on my own machine by editing the ini file for the program: https://code.google.com/p/sharexmod/issues/detail?id=104#c2"}}