Added playlists view context menu for rename, lock/unlock, and delete.
This commit is contained in:
@@ -82,6 +82,11 @@ public class PlaylistManager : IPlaylistManager
|
||||
|
||||
playlistRepository.Delete(playlist);
|
||||
|
||||
if (CurrentPlaylist == playlist)
|
||||
{
|
||||
CurrentPlaylist = _playlists.Count > 0 ? _playlists[0] : null;
|
||||
}
|
||||
|
||||
PlaylistRemoved?.Invoke(this, new(playlist));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user