forked from enlightenment/enlightenment
allow submenus to call their activation functions if they exist
SVN revision: 74588
This commit is contained in:
parent
7caeaff237
commit
d456775996
|
@ -2015,7 +2015,6 @@ _e_menu_active_call(void)
|
||||||
mi = _e_menu_item_active_get();
|
mi = _e_menu_item_active_get();
|
||||||
if (mi)
|
if (mi)
|
||||||
{
|
{
|
||||||
if (mi->submenu) return 0;
|
|
||||||
if (mi->check)
|
if (mi->check)
|
||||||
e_menu_item_toggle_set(mi, !mi->toggle);
|
e_menu_item_toggle_set(mi, !mi->toggle);
|
||||||
if ((mi->radio) && (!e_menu_item_toggle_get(mi)))
|
if ((mi->radio) && (!e_menu_item_toggle_get(mi)))
|
||||||
|
|
Loading…
Reference in New Issue