diff options
author | zmike <michael.blumenkrantz@gmail.com> | 2015-07-12 15:13:50 -0400 |
---|---|---|
committer | zmike <michael.blumenkrantz@gmail.com> | 2015-07-12 15:17:17 -0400 |
commit | 8eafb3e56e32797545f4352645b633fa85670a60 (patch) | |
tree | aafd3b8eaa5647941ba92673054d0349fac61159 /src | |
parent | 6ae5d03f82dcdb59256cee6fa71e208fd1db8645 (diff) |
block Delete current song deletion if not in player view
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/empc.c | 2 |
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 | { |