IDE: Don't close a modified file in sourceeditor when user cancels the "File ... has changed. Save?" dialog by pressing Escape key. Issue #0030582. Patch by Michl, modified by me.

git-svn-id: trunk@52940 -
This commit is contained in:
bart 2016-09-09 09:05:30 +00:00
parent 2feda7facc
commit 8e4b07024d

View File

@ -2585,7 +2585,7 @@ begin
if Result=mrYes then begin
Result:=SaveEditorFile(AnEditorInfo.EditorComponent,[sfCheckAmbiguousFiles]);
end;
if Result=mrAbort then exit;
if Result in [mrAbort,mrCancel] then exit;
Result:=mrOk;
end;