need to unlock gadcon BEFORE checking whether gadcon is still editing, otherwise we never unlock and always break shelf autohide

SVN revision: 76731
This commit is contained in:
Mike Blumenkrantz 2012-09-17 05:26:22 +00:00
parent 092b37f981
commit 4036e9a3c5
1 changed files with 1 additions and 1 deletions

View File

@ -1223,13 +1223,13 @@ e_gadcon_client_edit_end(E_Gadcon_Client *gcc)
if (gcc->o_control) evas_object_del(gcc->o_control);
gcc->o_control = NULL;
e_gadcon_locked_set(gcc->gadcon, 0);
EINA_LIST_FOREACH(gcc->gadcon->clients, l, client)
{
if (!client) continue;
if (client->o_control) return;
}
gcc->gadcon->editing = 0;
e_gadcon_locked_set(gcc->gadcon, 0);
}
EAPI void