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:
Paul Baumgart authored and Randall Luecke committed 2010-09-27 22:42:55 -04:00
1 parent 588577bd96
commit 7e863e7e96
1 file changed
+2
+2
View File
@@ -244,6 +244,8 @@ var HEIGHT_OF_SEGMENTED_CONTROL = 24;
*/
- (void)selectTabViewItemAtIndex:(unsigned)anIndex
{
var aTabViewItem = [items objectAtIndex:anIndex];
if (anIndex === selectedIndex)
return;