Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0b10b3c1 by Ankit Meel at 2024-03-29T08:07:40+00:00
macosx: Fix assert in audio artist view

- - - - -


1 changed file:

- modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m


Changes:

=====================================
modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m
=====================================
@@ -463,13 +463,13 @@ NSString *VLCLibraryPlaceholderAudioViewIdentifier = 
@"VLCLibraryPlaceholderAudi
 
 - (void)updatePresentedView
 {
+    _audioDataSource.audioLibrarySegment = [self 
currentLibrarySegmentToAudioLibrarySegment];
     if (_audioDataSource.libraryModel.numberOfAudioMedia == 0) {
         [self presentPlaceholderAudioView];
     } else {
         [self prepareAudioLibraryView];
         [self hideAllViews];
 
-        _audioDataSource.audioLibrarySegment = [self 
currentLibrarySegmentToAudioLibrarySegment];
         const VLCLibraryViewModeSegment viewModeSegment = [self 
viewModeSegmentForCurrentLibrarySegment];
 
         if (viewModeSegment == VLCLibraryListViewModeSegment) {



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

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/0b10b3c1395a0b0050f5a96db1d785903c3b875b
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to