mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 14:40:29 +02:00
MG: added DoSaveAll before CloseAll
git-svn-id: trunk@2789 -
This commit is contained in:
parent
2e7c15c288
commit
7678466970
@ -1600,6 +1600,7 @@ end;
|
||||
|
||||
procedure TMainIDE.mnuCloseAllClicked(Sender : TObject);
|
||||
begin
|
||||
DoSaveAll([]);
|
||||
while (SourceNoteBook.NoteBook<>nil)
|
||||
and (DoCloseEditorFile(SourceNoteBook.NoteBook.PageIndex,
|
||||
[cfSaveFirst])=mrOk) do ;
|
||||
@ -7197,6 +7198,9 @@ end.
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.394 2002/09/30 09:26:40 lazarus
|
||||
MG: added DoSaveAll before CloseAll
|
||||
|
||||
Revision 1.393 2002/09/20 14:41:34 lazarus
|
||||
MG: cleanup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user