[vlc-commits] [Git][videolan/vlc][master] macosx: Make playlist button in main menu toggle playlist sidebar
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Mar 29 11:22:53 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
976145ed by Claudio Cambra at 2024-03-29T10:53:24+00:00
macosx: Make playlist button in main menu toggle playlist sidebar
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/menus/VLCMainMenu.m
Changes:
=====================================
modules/gui/macosx/menus/VLCMainMenu.m
=====================================
@@ -29,6 +29,7 @@
#import "library/VLCLibraryWindow.h"
#import "library/VLCLibraryWindowController.h"
+#import "library/VLCLibraryWindowSplitViewController.h"
#import "main/VLCMain.h"
@@ -1465,7 +1466,8 @@ typedef NS_ENUM(NSInteger, VLCObjectType) {
- (IBAction)showPlaylist:(id)sender
{
- [[[VLCMain.sharedInstance libraryWindowController] window] makeKeyAndOrderFront:sender];
+ [VLCMain.sharedInstance.libraryWindowController.window makeKeyAndOrderFront:sender];
+ [VLCMain.sharedInstance.libraryWindow.splitViewController togglePlaylistSidebar:self];
}
#pragma mark - Help and Docs
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/976145edea26a87c4d3832a27e5bdd808f19a392
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/976145edea26a87c4d3832a27e5bdd808f19a392
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