debugpanel: fix crash.

Saw this on OpenBSD but also elsewhere now.
Seems to make sense to return here also.
This commit is contained in:
Alastair Poole 2018-06-13 12:49:52 +01:00
parent 8e09fe33ff
commit 354b675444
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ _edi_debug_active_check_cb(void *data EINA_UNUSED)
elm_object_disabled_set(_button_start, EINA_FALSE);
elm_object_disabled_set(_button_int, EINA_TRUE);
elm_object_disabled_set(_button_term, EINA_TRUE);
return ECORE_CALLBACK_RENEW;
}
if (!debug)