Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
d47e081e by Claudio Cambra at 2024-12-15T11:50:57+00:00
macosx: Replace use of deprecated selectRow: with selectRowIndexes:
Signed-off-by: Claudio Cambra <develo...@claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/groups-library/VLCLibraryGroupsDataSource.m
Changes:
=====================================
modules/gui/macosx/library/groups-library/VLCLibraryGroupsDataSource.m
=====================================
@@ -95,7 +95,8 @@
// to reselect. If the selection has been maintained then we need to
reload the detail table
// view.
if (rowIndex == selectedMasterRow && self.masterTableView.selectedRow
!= selectedMasterRow) {
- [self.masterTableView selectRow:selectedMasterRow
byExtendingSelection:NO];
+ [self.masterTableView selectRowIndexes:[NSIndexSet
indexSetWithIndex:selectedMasterRow]
+ byExtendingSelection:NO];
} else {
[self.detailTableView reloadData];
}
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/d47e081ed4e752a99da82ee4f6883dc962fec277
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/d47e081ed4e752a99da82ee4f6883dc962fec277
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits