block Delete current song deletion if not in player view
This commit is contained in:
parent
6ae5d03f82
commit
8eafb3e56e
|
@ -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))
|
if ((!strcmp(ev->key, "q")) && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL))
|
||||||
ecore_main_loop_quit();
|
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)
|
if (empd_song_item)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue