mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:40:32 +02:00
IDE: clean up
git-svn-id: trunk@26193 -
This commit is contained in:
parent
95729106bc
commit
e3dd67d199
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user