disable wizard mouse binding page's next button if all modifiers are disabled
this breaks the user experience!
This commit is contained in:
parent
9eba966126
commit
7c054f272b
|
@ -38,6 +38,8 @@ modifiers_changed(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||||
binding |= (1 << i);
|
binding |= (1 << i);
|
||||||
if (binding == current) return;
|
if (binding == current) return;
|
||||||
current = binding;
|
current = binding;
|
||||||
|
e_wizard_button_next_enable_set(!!current);
|
||||||
|
if (!current) return;
|
||||||
EINA_LIST_FOREACH(e_bindings->mouse_bindings, l, ebm)
|
EINA_LIST_FOREACH(e_bindings->mouse_bindings, l, ebm)
|
||||||
if (eina_streq(ebm->action, "window_move") ||
|
if (eina_streq(ebm->action, "window_move") ||
|
||||||
eina_streq(ebm->action, "window_resize") ||
|
eina_streq(ebm->action, "window_resize") ||
|
||||||
|
|
Loading…
Reference in New Issue