Enlightenment: Luncher gadget - Don't proceed with hiding the preview if the preview's icon is NULL.

This commit is contained in:
Stephen 'Okra' Houston 2017-01-12 11:12:54 -06:00
parent 0df9454414
commit 7422e9102f
1 changed files with 3 additions and 1 deletions

View File

@ -446,9 +446,11 @@ _bar_icon_preview_hide(void *data)
{
Icon *ic = data;
if (!ic) return EINA_FALSE;
ic->mouse_out_timer = NULL;
if (!ic->preview)
if (!ic->preview || ic->preview_dismissed)
return EINA_FALSE;
E_FREE_FUNC(ic->preview_box, evas_object_del);