'select/touch callback' - if action OK callback is bound for ST_UINT and
other settings, bind to action OK callback instead of action right
This commit is contained in:
parent
67b83d9d5f
commit
35764a7200
|
@ -67,6 +67,9 @@ static int action_select_default(const char *path, const char *label, unsigned t
|
||||||
case ST_UINT:
|
case ST_UINT:
|
||||||
case ST_SIZE:
|
case ST_SIZE:
|
||||||
case ST_FLOAT:
|
case ST_FLOAT:
|
||||||
|
if (cbs->action_ok)
|
||||||
|
action = MENU_ACTION_OK;
|
||||||
|
else
|
||||||
action = MENU_ACTION_RIGHT;
|
action = MENU_ACTION_RIGHT;
|
||||||
break;
|
break;
|
||||||
case ST_PATH:
|
case ST_PATH:
|
||||||
|
|
Loading…
Reference in New Issue