disallow demo gadget ids from counting towards wizard success

This commit is contained in:
Mike Blumenkrantz 2017-08-11 18:48:53 -04:00
parent 4e4f66fc2b
commit 92a0cb11d6
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ _gadget_wizard_end(void *data, int id)
zgc->id = id;
evas_object_smart_callback_call(zgc->site->layout, "gadget_site_unlocked", NULL);
e_comp_ungrab_input(1, 1);
if (id)
if (id > 0)
{
_gadget_object_finalize(zgc);
added = 0;