[vlc-commits] [Git][videolan/vlc][master] macosx: Fix table header having the play/queue buttons disabled on startup
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Mar 2 16:20:55 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
97f077b6 by Claudio Cambra at 2026-03-02T16:06:32+00:00
macosx: Fix table header having the play/queue buttons disabled on startup
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/audio-library/VLCLibraryAudioDataSource.m
Changes:
=====================================
modules/gui/macosx/library/audio-library/VLCLibraryAudioDataSource.m
=====================================
@@ -712,17 +712,17 @@ NSString * const VLCLibraryAudioDataSourceDisplayedCollectionChangedNotification
NSString *fallbackTitle = nil;
NSString *fallbackDetail = nil;
- if (self.displayAllArtistsGenresTableEntry && selectedRow == 0) {
- fallbackTitle = (self.currentParentType == VLCMediaLibraryParentGroupTypeGenre)
- ? _NS("All genres")
- : _NS("All artists");
- if (selectedItem != nil) {
- fallbackDetail = selectedItem.primaryDetailString;
- }
- } else if (selectedItem != nil) {
+ if (selectedItem != nil) {
representedItem = [[VLCLibraryRepresentedItem alloc] initWithItem:selectedItem parentType:self.currentParentType];
- fallbackTitle = selectedItem.displayString;
fallbackDetail = selectedItem.primaryDetailString;
+
+ if (self.displayAllArtistsGenresTableEntry && selectedRow == 0) {
+ fallbackTitle = (self.currentParentType == VLCMediaLibraryParentGroupTypeGenre)
+ ? _NS("All genres")
+ : _NS("All artists");
+ } else {
+ fallbackTitle = selectedItem.displayString;
+ }
}
[self.headerDelegate updateHeaderForTableView:tableView
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/97f077b644129a6cccb0ffdac3d096a28f68a105
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/97f077b644129a6cccb0ffdac3d096a28f68a105
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