mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +02:00
lcl: coolbar: fix double-if from r55428 #e5fe561452. issue #32027
git-svn-id: trunk@55430 -
This commit is contained in:
parent
f6cc92a276
commit
3f793b533d
@ -577,8 +577,7 @@ begin
|
||||
for i := 0 to aCountM1 do begin
|
||||
if aRowEnd or FVisiBands[i].Break then
|
||||
aLeft := aBorderLeft;
|
||||
if Assigned(FVisiBands[i].Control)then
|
||||
if FVisiBands[i].Control is TToolBar then
|
||||
if FVisiBands[i].Control is TToolBar then
|
||||
begin
|
||||
if TToolBar(FVisiBands[i].Control).IsVertical then
|
||||
TToolBar(FVisiBands[i].Control).WrapButtons(Height,NewWidth,NewHeight,true)
|
||||
|
Loading…
Reference in New Issue
Block a user