Permalink
Browse files

Shut up a warning about deprecated API.

  • Loading branch information...
uliwitness committed Sep 27, 2012
1 parent 2bc7300 commit 8333fe1fe69ece839c4c97cf2d1df60ac10a1e60
Showing with 1 addition and 1 deletion.
  1. +1 −1 UKTabViewSwitchingSourceViewController.m
@@ -34,7 +34,7 @@ -(void) awakeFromNib
{
NSInteger theIndex = [tabSwitcher indexOfTabViewItem: [tabSwitcher selectedTabViewItem]];
[sourceView reloadData];
- [sourceView selectRow: theIndex byExtendingSelection: NO];
+ [sourceView selectRowIndexes: [NSIndexSet indexSetWithIndex: theIndex] byExtendingSelection: NO];
}

0 comments on commit 8333fe1

Please sign in to comment.