Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
02c3a9e7 by Claudio Cambra at 2024-06-18T06:31:10+00:00
macosx: Fix library crash on video media library media item switch
Signed-off-by: Claudio Cambra <[email protected]>
- - - - -
1 changed file:
- modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.m
Changes:
=====================================
modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.m
=====================================
@@ -251,7 +251,7 @@ NSString * const
VLCLibraryVideoDataSourceDisplayedCollectionChangedNotification
const NSInteger section = [self videoGroupToRow:group];
NSSet<NSIndexPath *> * const indexPathSet = [rowIndexSet
indexPathSetWithSection:section];
- [self.collectionView insertItemsAtIndexPaths:indexPathSet];
+ [self.collectionView reloadItemsAtIndexPaths:indexPathSet];
const NSInteger selectedTableViewVideoGroup = [self
rowToVideoGroup:self.groupsTableView.selectedRow];
if (selectedTableViewVideoGroup == group) {
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/02c3a9e7fcc709ca84d993a9192ef0773d9b1e30
--
This project does not include diff previews in email notifications.
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/02c3a9e7fcc709ca84d993a9192ef0773d9b1e30
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits