diff options
Diffstat (limited to 'src/bin')
-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 145dd00..076ca02 100644 --- a/src/bin/empc.c +++ b/src/bin/empc.c | |||
@@ -3030,7 +3030,7 @@ empc_queue_list_changes(void *d EINA_UNUSED, int t EINA_UNUSED, Empd_Empdd_Queue | |||
3030 | 3030 | ||
3031 | it = empd_song_item; | 3031 | it = empd_song_item; |
3032 | queue_list_handler(ev->value, EINA_TRUE); | 3032 | queue_list_handler(ev->value, EINA_TRUE); |
3033 | if ((!it) || (it != empd_song_item)) | 3033 | if (empd_song_item && ((!it) || (it != empd_song_item))) |
3034 | elm_genlist_item_show(empd_song_item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE); | 3034 | elm_genlist_item_show(empd_song_item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE); |
3035 | return ECORE_CALLBACK_RENEW; | 3035 | return ECORE_CALLBACK_RENEW; |
3036 | } | 3036 | } |