browser: delete: exit immediately after deleting mpd playlist
This commit is contained in:
@@ -562,7 +562,10 @@ bool Browser::deleteItem(const MPD::Item &item, std::string &errmsg)
|
|||||||
|
|
||||||
// playlist created by mpd
|
// playlist created by mpd
|
||||||
if (!isLocal() && item.type == itPlaylist && CurrentDir() == "/")
|
if (!isLocal() && item.type == itPlaylist && CurrentDir() == "/")
|
||||||
|
{
|
||||||
Mpd.DeletePlaylist(item.name);
|
Mpd.DeletePlaylist(item.name);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
std::string path;
|
std::string path;
|
||||||
if (!isLocal())
|
if (!isLocal())
|
||||||
|
|||||||
Reference in New Issue
Block a user