mirror of https://gitlab.com/basile.b/dexed.git
fix, save all, a temp module could be saved with <New Document> name, while valid fname for the OS its not for dmd
This commit is contained in:
parent
dfd6470537
commit
830c55b15a
|
@ -1392,7 +1392,7 @@ procedure TCEMainForm.saveFile(aDocument: TCESynMemo);
|
|||
begin
|
||||
if aDocument.Highlighter = LfmSyn then
|
||||
saveProjSource(aDocument)
|
||||
else if aDocument.fileName <> '' then
|
||||
else if fileExists(aDocument.fileName) then
|
||||
aDocument.save;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue