block Delete current song deletion if not in player view

This commit is contained in:
zmike 2015-07-12 15:13:50 -04:00
parent 6ae5d03f82
commit 8eafb3e56e
1 changed files with 1 additions and 1 deletions

View File

@ -3139,7 +3139,7 @@ key_down(void *data EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Key *ev)
}
if ((!strcmp(ev->key, "q")) && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL))
ecore_main_loop_quit();
else if (!strcmp(ev->key, "Delete"))
else if ((!ctxpopup) && (!queue_list_state) && (!filesystem_state) && (!strcmp(ev->key, "Delete")))
{
if (empd_song_item)
{