forked from enlightenment/enlightenment
Enlightenment: Luncher gadget - Don't proceed with hiding the preview if the preview's icon is NULL.
This commit is contained in:
parent
0df9454414
commit
7422e9102f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue