mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 11:40:33 +02:00
IDE: codecontext: combine resize and show
git-svn-id: trunk@45307 -
This commit is contained in:
parent
c1d8b5398b
commit
58192726cf
@ -127,9 +127,13 @@ begin
|
||||
Exit;
|
||||
if CodeContextFrm = nil then
|
||||
CodeContextFrm := TCodeContextFrm.Create(LazarusIDE.OwningComponent);
|
||||
CodeContextFrm.SetCodeContexts(CodeContexts);
|
||||
|
||||
CodeContextFrm.Visible := True;
|
||||
CodeContextFrm.DisableAlign;
|
||||
try
|
||||
CodeContextFrm.SetCodeContexts(CodeContexts);
|
||||
CodeContextFrm.Visible := True;
|
||||
finally
|
||||
CodeContextFrm.EnableAlign;
|
||||
end;
|
||||
Result := True;
|
||||
finally
|
||||
CodeContexts.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user