mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 10:22:38 +02:00
IDE: Return an accidentally removed assignment in component palette. Patch from Sandro Cumerlato.
git-svn-id: trunk@46844 -
This commit is contained in:
parent
ffa4d82af8
commit
0f7c742f16
@ -851,8 +851,9 @@ var
|
||||
Pg := Pages[aPageIndex];
|
||||
if not Pg.Visible then Exit;
|
||||
ScrollBox := Pg.GetScrollBox;
|
||||
ScrollBox.OnResize := @OnScrollBoxResize;
|
||||
Assert(Assigned(ScrollBox), 'CreateButtons: ScrollBox not assigned.');
|
||||
ScrollBox.OnResize := @OnScrollBoxResize;
|
||||
ScrollBox.OnMouseWheel := @OnPageMouseWheel;
|
||||
//DebugLn(['TComponentPalette.UpdateNoteBookButtons PAGE=',Pg.PageName,' PageIndex=',Pg.PageComponent.PageIndex]);
|
||||
// create selection button
|
||||
CreateSelectionButton(Pg, IntToStr(aPageIndex), ScrollBox);
|
||||
|
Loading…
Reference in New Issue
Block a user