Commit e69b8587 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix runtime exception when deleting a podcast (close #8948)

parent 39ea9d99
...@@ -725,7 +725,6 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -725,7 +725,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_fspanel setPlay]; [o_fspanel setPlay];
[[[VLCMain sharedInstance] voutController] updateWindowsControlsBarWithSelector:@selector(setPlay)]; [[[VLCMain sharedInstance] voutController] updateWindowsControlsBarWithSelector:@selector(setPlay)];
} }
- (void)updateVolumeSlider - (void)updateVolumeSlider
...@@ -1179,9 +1178,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1179,9 +1178,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (playlist_IsServicesDiscoveryLoaded(p_playlist, "podcast{longname=\"Podcasts\"}")) { if (playlist_IsServicesDiscoveryLoaded(p_playlist, "podcast{longname=\"Podcasts\"}")) {
playlist_ServicesDiscoveryRemove(p_playlist, "podcast{longname=\"Podcasts\"}"); playlist_ServicesDiscoveryRemove(p_playlist, "podcast{longname=\"Podcasts\"}");
playlist_ServicesDiscoveryAdd(p_playlist, "podcast{longname=\"Podcasts\"}"); playlist_ServicesDiscoveryAdd(p_playlist, "podcast{longname=\"Podcasts\"}");
[o_playlist_table reloadData]; [[[VLCMain sharedInstance] playlist] playlistUpdated];
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment