mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 10:00:34 +02:00
IDE: fixed opening an existing package editor, bug #28963
git-svn-id: trunk@50236 -
This commit is contained in:
parent
a3cea8f6d2
commit
f088a0bc08
@ -3388,7 +3388,7 @@ begin
|
||||
Result:=FindEditor(Pkg);
|
||||
if Result<>nil then begin
|
||||
if DoDisableAutoSizing then
|
||||
Result.EnableAutoSizing{$IFDEF DebugDisableAutoSizing}('TAnchorDockMaster Delayed'){$ENDIF};
|
||||
Result.DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TAnchorDockMaster Delayed'){$ENDIF};
|
||||
end else begin
|
||||
Result:=TPackageEditorForm(TPackageEditorForm.NewInstance);
|
||||
{$IFDEF DebugDisableAutoSizing}
|
||||
|
Loading…
Reference in New Issue
Block a user