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
|
begin
|
||||||
if aDocument.Highlighter = LfmSyn then
|
if aDocument.Highlighter = LfmSyn then
|
||||||
saveProjSource(aDocument)
|
saveProjSource(aDocument)
|
||||||
else if aDocument.fileName <> '' then
|
else if fileExists(aDocument.fileName) then
|
||||||
aDocument.save;
|
aDocument.save;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue