IDE: clean up

git-svn-id: trunk@26193 -
This commit is contained in:
mattias 2010-06-19 15:18:13 +00:00
parent 95729106bc
commit e3dd67d199

View File

@ -5670,8 +5670,6 @@ begin
CloseAction := caHide;
{$IFnDEF SingleSrcWindow}
if PageCount = 0 then begin { $NOTE maybe keep the last one}
if EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(Self.Name) <> nil then
EnvironmentOptions.IDEWindowLayoutList.ItemByFormID(Self.Name).CloseForm;
// Make the name unique, because it may not immediately be released
Name := Name + '___' + IntToStr(PtrUInt(Pointer(Self)));
CloseAction := caFree;