Commit 4be05800 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: remove deprecated method selectRow:byExtendingSelection:

manual backport
parent c2b12c82
......@@ -1315,7 +1315,7 @@
}
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 );
......@@ -1712,7 +1712,7 @@
}
[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 );
......
......@@ -179,7 +179,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
[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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment