IDE: codecontext: combine resize and show

git-svn-id: trunk@45307 -
This commit is contained in:
mattias 2014-06-02 19:56:41 +00:00
parent c1d8b5398b
commit 58192726cf

View File

@ -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;