[vlc-commits] [Git][videolan/vlc][master] macosx: fix grid/list switching in active search
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Thu Oct 15 06:48:06 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
be9e4775 by Serhii Bykov at 2026-10-15T08:36:08+02:00
macosx: fix grid/list switching in active search
- - - - -
1 changed file:
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
Changes:
=====================================
modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
=====================================
@@ -206,6 +206,7 @@
{
[self.searchViewController presentInContainer:self.libraryTargetView];
self.isShowingSearchOverlay = YES;
+ [self.libraryWindow updateGridVsListViewModeSegmentedControl];
[self.libraryWindow updateToolbarDisplayFlags];
}
@@ -277,6 +278,7 @@
[self.searchViewController dismissFromContainer];
self.isShowingSearchOverlay = NO;
[VLCMain.sharedInstance.libraryController filterByString:@""];
+ [self.libraryWindow updateGridVsListViewModeSegmentedControl];
[self.libraryWindow updateToolbarDisplayFlags];
// Re-present the home content (or placeholder) in the target view.
@@ -344,6 +346,7 @@
VLCLibraryWindowPersistentPreferences.sharedInstance;
if (self.isShowingSearchOverlay) {
prefs.searchLibraryViewMode = viewMode;
+ [self.searchViewController presentInContainer:self.libraryTargetView];
} else {
prefs.homeLibraryViewMode = viewMode;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/be9e477571f36873c2a5f1733e940a31c0dd089e
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/be9e477571f36873c2a5f1733e940a31c0dd089e
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list