disallow pip manage action if no pips exist

This commit is contained in:
Mike Blumenkrantz 2015-02-22 23:24:11 -05:00
parent b2bd0365cd
commit 95b961304e
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ _pip_hook(void *d EINA_UNUSED, E_Client *ec)
static void
_pip_action_cb(E_Object *obj EINA_UNUSED, const char *params EINA_UNUSED)
{
if (!eina_hash_population(pips)) return;
if (editing)
pips_noedit();
else