Revert "limit clear and crop function to playlist/playlist editor"
This was silly idea, I did this so no one could clear the playlist
by accident, but I forgot about the common situation when one can
just clear playlist and add new songs e.g. form browser immediately.
This reverts commit 047dabd41a.
This commit is contained in:
@@ -1463,7 +1463,7 @@ int main(int argc, char *argv[])
|
|||||||
myPlaylist->EnableHighlighting();
|
myPlaylist->EnableHighlighting();
|
||||||
FreeSongList(result);
|
FreeSongList(result);
|
||||||
}
|
}
|
||||||
else if (Keypressed(input, Key.Crop) && myScreen == myPlaylist)
|
else if (Keypressed(input, Key.Crop))
|
||||||
{
|
{
|
||||||
CHECK_PLAYLIST_FOR_FILTERING;
|
CHECK_PLAYLIST_FOR_FILTERING;
|
||||||
if (myPlaylist->Main()->hasSelected())
|
if (myPlaylist->Main()->hasSelected())
|
||||||
@@ -1501,8 +1501,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else if (Keypressed(input, Key.Clear))
|
else if (Keypressed(input, Key.Clear))
|
||||||
{
|
{
|
||||||
if (myScreen != myPlaylist && myScreen != myPlaylistEditor)
|
|
||||||
continue;
|
|
||||||
if (myPlaylist->Main()->isFiltered())
|
if (myPlaylist->Main()->isFiltered())
|
||||||
{
|
{
|
||||||
ShowMessage("Deleting filtered items...");
|
ShowMessage("Deleting filtered items...");
|
||||||
|
|||||||
Reference in New Issue
Block a user