Browse Source

* always do a SaveAs when trying to save new editors, also if there
aren't any modifications yet, since as the editor has no name yet
a plain save won't do anything (mantis #9477)

git-svn-id: trunk@8903 -

Jonas Maebe 18 years ago
parent
commit
9343a2ea50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ide/fpviews.pas

+ 1 - 1
ide/fpviews.pas

@@ -2275,7 +2275,7 @@ begin
             Hide;
           cmSave :
             if Editor^.IsClipboard=false then
-             if (Editor^.FileName='') and Editor^.GetModified then
+             if (Editor^.FileName='') then
               Editor^.SaveAs
              else
               Editor^.Save;