mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 11:40:42 +00:00
selectTabViewItemAtIndex does not look up the TabViewItem to send to the delegate, which causes a JS ReferenceError; this commit fixes that
This commit is contained in:
1 parent
588577bd96
commit
7e863e7e96
1 file changed
+2
@@ -244,6 +244,8 @@ var HEIGHT_OF_SEGMENTED_CONTROL = 24;
|
||||
*/
|
||||
- (void)selectTabViewItemAtIndex:(unsigned)anIndex
|
||||
{
|
||||
var aTabViewItem = [items objectAtIndex:anIndex];
|
||||
|
||||
if (anIndex === selectedIndex)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user