mirror of https://gitlab.com/basile.b/dexed.git
fix, close query, multidoc mgr warned about modif with the wrong filename
This commit is contained in:
parent
404f007dd6
commit
1e1f7bf238
|
@ -251,7 +251,7 @@ begin
|
|||
doc := getDocument(index);
|
||||
if not assigned(doc) then exit(false);
|
||||
if (doc.modified or (doc.fileName = doc.tempFilename)) and
|
||||
(dlgFileChangeClose(fDoc.fileName) = mrCancel) then exit(false);
|
||||
(dlgFileChangeClose(doc.fileName) = mrCancel) then exit(false);
|
||||
doc.Free;
|
||||
result := true;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue