[vlc-commits] [Git][videolan/vlc][master] macosx: Don't append new state to library navigation stack when switching...

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Feb 20 10:09:58 UTC 2023



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
bc303ae4 by Claudio Cambra at 2023-02-20T09:53:54+00:00
macosx: Don't append new state to library navigation stack when switching between grid or list view modes in media source view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/media-source/VLCMediaSourceBaseDataSource.m


Changes:

=====================================
modules/gui/macosx/library/media-source/VLCMediaSourceBaseDataSource.m
=====================================
@@ -483,10 +483,6 @@ referenceSizeForHeaderInSection:(NSInteger)section
     _childDataSource.gridViewMode = _gridViewMode;
 
     [self setCurrentViewMode];
-
-    if(sender != [[[VLCMain sharedInstance] libraryWindow] navigationStack]) {
-        [[[[VLCMain sharedInstance] libraryWindow] navigationStack] appendCurrentLibraryState];
-    }
 }
 
 #pragma mark - VLCMediaSource Delegation



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

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