[vlc-commits] [Git][videolan/vlc][master] macosx: Check data source implements optional protocol method before calling
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Mar 15 19:26:41 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8e228d99 by Claudio Cambra at 2026-03-15T18:59:59+00:00
macosx: Check data source implements optional protocol method before calling
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryMasterDetailViewTableViewDelegate.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryMasterDetailViewTableViewDelegate.m
=====================================
@@ -44,7 +44,9 @@
if (tableView == masterDetailViewDataSource.masterTableView) {
[masterDetailViewDataSource.detailTableView reloadData];
- [masterDetailViewDataSource updateHeaderInTableView:masterDetailViewDataSource.detailTableView forMasterSelection:tableView];
+ if ([masterDetailViewDataSource respondsToSelector:@selector(updateHeaderInTableView:forMasterSelection:)]) {
+ [masterDetailViewDataSource updateHeaderInTableView:masterDetailViewDataSource.detailTableView forMasterSelection:tableView];
+ }
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8e228d99954625f59ddbd5aa35da4fe567795d02
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8e228d99954625f59ddbd5aa35da4fe567795d02
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