From 6c5b830d838df995061c9a2a2f06666fa1578f93 Mon Sep 17 00:00:00 2001 From: Alexander Eckart Date: Sun, 9 Dec 2012 19:20:55 +0100 Subject: [PATCH] removing a single song from playlist is also possible (by mouse) --- Vocaluxe/Menu/CPlaylist.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Menu/CPlaylist.cs b/Vocaluxe/Menu/CPlaylist.cs index 6b08a68d..629ededb 100644 --- a/Vocaluxe/Menu/CPlaylist.cs +++ b/Vocaluxe/Menu/CPlaylist.cs @@ -932,7 +932,7 @@ namespace Vocaluxe.Menu } //Change order with holding LB - if (MouseEvent.LBH && CurrentPlaylistElement != -1 && PlaylistElementContents.Count > 1 && DragAndDropSongID == -1) + if (MouseEvent.LBH && CurrentPlaylistElement != -1 && PlaylistElementContents.Count > 0 && DragAndDropSongID == -1) { ChangeOrderSource = CurrentPlaylistElement + Offset;