}
if( i_row > -1 )
{
- [o_outline_view selectRow:i_row byExtendingSelection: NO];
+ [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
[o_outline_view scrollRowToVisible: i_row];
}
pl_Release( VLCIntf );
}
[o_outline_view deselectAll: self];
- [o_outline_view selectRow: i_row byExtendingSelection: NO];
+ [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
[o_outline_view scrollRowToVisible: i_row];
pl_Release( VLCIntf );
[o_prefs_view setHasVerticalScroller: YES];
[o_prefs_view setDrawsBackground: NO];
[o_prefs_view setDocumentView: o_empty_view];
- [o_tree selectRow:0 byExtendingSelection:NO];
+ [o_tree selectRowIndexes: [NSIndexSet indexSetWithIndex: 0] byExtendingSelection: NO];
}
- (void)setTitle: (NSString *) o_title_name
i_row = [o_outline_view rowForItem:item];
if( i_row > -1 )
{
- [o_outline_view selectRow:i_row byExtendingSelection: NO];
+ [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
[o_outline_view scrollRowToVisible: i_row];
}
}
i_row = [o_outline_view rowForItem:[o_playlist playingItem]];
if( i_row > -1 )
{
- [o_outline_view selectRow:i_row byExtendingSelection: NO];
+ [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
[o_outline_view scrollRowToVisible: i_row];
}
}