mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-21 00:59:18 +02:00
ide: fix sourceeditor pointer to name assigning
git-svn-id: trunk@24207 -
This commit is contained in:
parent
db2312a9d8
commit
6bce7d6359
@ -5098,7 +5098,7 @@ begin
|
||||
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(PtrInt(Pointer(Self)));
|
||||
Name := Name + '___' + IntToStr(PtrUInt(Pointer(Self)));
|
||||
CloseAction := caFree;
|
||||
end else
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user