summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzmike <michael.blumenkrantz@gmail.com>2015-07-12 15:13:50 -0400
committerzmike <michael.blumenkrantz@gmail.com>2015-07-12 15:17:17 -0400
commit8eafb3e56e32797545f4352645b633fa85670a60 (patch)
treeaafd3b8eaa5647941ba92673054d0349fac61159 /src
parent6ae5d03f82dcdb59256cee6fa71e208fd1db8645 (diff)
block Delete current song deletion if not in player view
Diffstat (limited to 'src')
-rw-r--r--src/bin/empc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/empc.c b/src/bin/empc.c
index 087b57f..653716a 100644
--- a/src/bin/empc.c
+++ b/src/bin/empc.c
@@ -3139,7 +3139,7 @@ key_down(void *data EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Key *ev)
3139 } 3139 }
3140 if ((!strcmp(ev->key, "q")) && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL)) 3140 if ((!strcmp(ev->key, "q")) && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL))
3141 ecore_main_loop_quit(); 3141 ecore_main_loop_quit();
3142 else if (!strcmp(ev->key, "Delete")) 3142 else if ((!ctxpopup) && (!queue_list_state) && (!filesystem_state) && (!strcmp(ev->key, "Delete")))
3143 { 3143 {
3144 if (empd_song_item) 3144 if (empd_song_item)
3145 { 3145 {