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 <develo...@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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to