Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
18fc2bd4 by Claudio Cambra at 2025-12-14T09:19:31+00:00
macosx: Ensure "all X" items have an appropriate detail string applied in 
header view

Signed-off-by: Claudio Cambra <[email protected]>

- - - - -


1 changed file:

- modules/gui/macosx/library/audio-library/VLCLibraryAudioDataSource.m


Changes:

=====================================
modules/gui/macosx/library/audio-library/VLCLibraryAudioDataSource.m
=====================================
@@ -722,6 +722,9 @@ NSString * const 
VLCLibraryAudioDataSourceDisplayedCollectionChangedNotification
         fallbackTitle = (self.currentParentType == 
VLCMediaLibraryParentGroupTypeGenre)
             ? _NS("All genres")
             : _NS("All artists");
+        if (selectedItem != nil) {
+            fallbackDetail = selectedItem.primaryDetailString;
+        }
     } else if (selectedItem != nil) {
         representedItem = [[VLCLibraryRepresentedItem alloc] 
initWithItem:selectedItem parentType:self.currentParentType];
         fallbackTitle = selectedItem.displayString;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/18fc2bd464c9158ff4f36590af1f440cff7f3c7b

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

Reply via email to