From 16be28d203365823e153e91995d99605233be160 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Fri, 28 Dec 2012 15:11:41 +0100 Subject: [PATCH] fixed party mode song selection --- Vocaluxe/Screens/CScreenSong.cs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Vocaluxe/Screens/CScreenSong.cs b/Vocaluxe/Screens/CScreenSong.cs index fac4cc92..684ae0d2 100644 --- a/Vocaluxe/Screens/CScreenSong.cs +++ b/Vocaluxe/Screens/CScreenSong.cs @@ -796,8 +796,8 @@ namespace Vocaluxe.Screens CSongs.Sort(_sso.Sorting.SongSorting, _sso.Sorting.Tabs, _sso.Sorting.IgnoreArticles, _sso.Sorting.SearchString, _sso.Sorting.ShowDuetSongs); _SearchActive = _sso.Sorting.SearchStringVisible; _SearchText = _sso.Sorting.SearchString; + ClosePlaylist(); - Playlists[htPlaylists(Playlist)].ClosePlaylist(); ToggleSongOptions(ESongOptionsView.None); } @@ -1250,10 +1250,14 @@ namespace Vocaluxe.Screens private void ClosePlaylist() { - SongMenus[htSongMenus(SongMenu)].SetSmallView(false); - _PlaylistActive = false; - Playlists[htPlaylists(Playlist)].Selected = _PlaylistActive; - SongMenus[htSongMenus(SongMenu)].SetActive(!_PlaylistActive); + if (Playlists[htPlaylists(Playlist)].Visible || _PlaylistActive) + { + SongMenus[htSongMenus(SongMenu)].SetSmallView(false); + _PlaylistActive = false; + Playlists[htPlaylists(Playlist)].Selected = _PlaylistActive; + SongMenus[htSongMenus(SongMenu)].SetActive(!_PlaylistActive); + Playlists[htPlaylists(Playlist)].ClosePlaylist(); + } } private void UpdatePlaylistNames()