disable wizard mouse binding page's next button if all modifiers are disabled

this breaks the user experience!
This commit is contained in:
Mike Blumenkrantz 2016-03-16 14:33:06 -04:00
parent 9eba966126
commit 7c054f272b
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ modifiers_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
binding |= (1 << i);
if (binding == current) return;
current = binding;
e_wizard_button_next_enable_set(!!current);
if (!current) return;
EINA_LIST_FOREACH(e_bindings->mouse_bindings, l, ebm)
if (eina_streq(ebm->action, "window_move") ||
eina_streq(ebm->action, "window_resize") ||