mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 14:00:38 +02:00
cocoa: prevent a rangecheck error on adjusting tabs
git-svn-id: trunk@61071 -
This commit is contained in:
parent
4c2e6c3028
commit
c029e0e53e
@ -182,7 +182,7 @@ var
|
||||
i : integer;
|
||||
begin
|
||||
arr := aview.tabViewItems;
|
||||
for i :=arr.count - 1 downto 0 do
|
||||
for i := Integer(arr.count) - 1 downto 0 do
|
||||
aview.removeTabViewItem( arr.objectAtIndex(i) );
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user