[vlc-commits] [Git][videolan/vlc][master] macosx: Fix wrong item being updated/deleted on item changes in playlist data source

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Aug 30 12:13:55 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9e2f44e1 by Claudio Cambra at 2025-08-30T11:57:36+00:00
macosx: Fix wrong item being updated/deleted on item changes in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m


Changes:

=====================================
modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
=====================================
@@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, VLCLibraryDataSourceCacheAction) {
 - (void)reloadViewsAtIndex:(NSUInteger)index
           dueToCacheAction:(VLCLibraryDataSourceCacheAction)action
 {
-    NSIndexPath * const indexPath = [NSIndexPath indexPathForItem:0 inSection:0];
+    NSIndexPath * const indexPath = [NSIndexPath indexPathForItem:index inSection:0];
     NSSet<NSIndexPath *> * const indexPathSet = [NSSet setWithObject:indexPath];
 
     for (NSCollectionView * const collectionView in self.collectionViews) {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9e2f44e11ac703d73eb0787a396909280f8f21e4

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9e2f44e11ac703d73eb0787a396909280f8f21e4
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