[vlc-commits] [Git][videolan/vlc][master] 4 commits: macosx: Prevent empty selection in playlist library master view
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Mon Mar 23 09:45:57 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
91f08e78 by Claudio Cambra at 2026-03-23T10:12:24+01:00
macosx: Prevent empty selection in playlist library master view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
60ee6816 by Claudio Cambra at 2026-03-23T10:12:24+01:00
macosx: Update header view on load of playlist library
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
3b11be78 by Claudio Cambra at 2026-03-23T10:12:24+01:00
macosx: Prevent empty selection in groups master table view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
b8387dc9 by Claudio Cambra at 2026-03-23T10:12:24+01:00
macosx: Update header biew on load of groups library view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
2 changed files:
- modules/gui/macosx/library/groups-library/VLCLibraryGroupsViewController.m
- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistViewController.m
Changes:
=====================================
modules/gui/macosx/library/groups-library/VLCLibraryGroupsViewController.m
=====================================
@@ -205,6 +205,7 @@
self.tableViewDelegate.detailTableHeaderView = self.selectedGroupTableHeaderView;
self.groupsTableView.headerView = nil;
+ self.groupsTableView.allowsEmptySelection = NO;
self.selectedGroupTableView.headerView = self.selectedGroupTableHeaderView;
selectedGroupColumn.headerCell = [VLCLibraryAudioGroupTableHeaderCell new];
@@ -270,6 +271,8 @@
} else {
[self.libraryWindow displayLibraryView:self.listViewSplitView];
[self.splitViewDelegate resetDefaultSplitForSplitView:self.listViewSplitView];
+ [self.dataSource updateHeaderInTableView:self.selectedGroupTableView
+ forMasterSelection:self.groupsTableView];
}
} else if (self.dataSource.libraryModel.filterString.length > 0) {
[self.libraryWindow displayNoResultsMessage];
=====================================
modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistViewController.m
=====================================
@@ -202,6 +202,7 @@
self.tableViewDelegate.detailTableHeaderView = self.detailTableHeaderView;
self.masterTableView.headerView = nil;
+ self.masterTableView.allowsEmptySelection = NO;
self.detailTableView.headerView = self.detailTableHeaderView;
detailColumn.headerCell = [VLCLibraryAudioGroupTableHeaderCell new];
@@ -291,6 +292,8 @@
self.listViewSplitView.hidden = NO;
self.collectionViewScrollView.hidden = YES;
[self.splitViewDelegate resetDefaultSplitForSplitView:self.listViewSplitView];
+ [self.dataSource updateHeaderInTableView:self.detailTableView
+ forMasterSelection:self.masterTableView];
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/60b68d5961731b5b7c527440f21ae0196ffea31e...b8387dc9aac5958372f31ea6142ef3b4b4d68e3f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/60b68d5961731b5b7c527440f21ae0196ffea31e...b8387dc9aac5958372f31ea6142ef3b4b4d68e3f
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list