'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,7 +67,10 @@ static int action_select_default(const char *path, const char *label, unsigned t
|
|||
case ST_UINT:
|
||||
case ST_SIZE:
|
||||
case ST_FLOAT:
|
||||
action = MENU_ACTION_RIGHT;
|
||||
if (cbs->action_ok)
|
||||
action = MENU_ACTION_OK;
|
||||
else
|
||||
action = MENU_ACTION_RIGHT;
|
||||
break;
|
||||
case ST_PATH:
|
||||
case ST_DIR:
|
||||
|
|
Loading…
Reference in New Issue