implemente clearing msgs on closing project

git-svn-id: trunk@8881 -
This commit is contained in:
mattias 2006-03-07 12:53:05 +00:00
parent b0df4cc0b7
commit 070ad30098

View File

@ -68,11 +68,11 @@ uses
// codetools
AVL_Tree, Laz_XMLCfg,
CodeToolsStructs, CodeToolManager, CodeCache, DefineTemplates,
// IDE interface
AllIDEIntf, ObjectInspector, PropEdits, MacroIntf, IDECommands, SrcEditorIntf,
NewItemIntf, PackageIntf, ProjectIntf, MenuIntf, LazIDEIntf,
// synedit
SynEditKeyCmds,
// IDE interface
AllIDEIntf, ObjectInspector, PropEdits, MacroIntf, IDECommands, SrcEditorIntf,
NewItemIntf, MsgIntf, PackageIntf, ProjectIntf, MenuIntf, LazIDEIntf,
// protocol
IDEProtocol,
// compile
@ -6597,6 +6597,8 @@ begin
// close Project
if ProjInspector<>nil then ProjInspector.LazProject:=nil;
FreeThenNil(Project1);
if IDEMessagesWindow<>nil then IDEMessagesWindow.Clear;
{$IFDEF IDE_MEM_CHECK}CheckHeapWrtMemCnt('TMainIDE.DoCloseProject C');{$ENDIF}
Result:=mrOk;
{$IFDEF IDE_VERBOSE}