[vlc-commits] [Git][videolan/vlc][master] macosx: Replace use of deprecated selectRow: with selectRowIndexes:
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Dec 15 12:03:07 UTC 2024
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 <developer at 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
More information about the vlc-commits
mailing list