settings: Remove F_ALLOW_ARBITRARY_VALS from hotkey settings
The hotkey settings come from a fixed enum, arbitrary values are not supported. It's not possible to use choice settings for them because some enum values are only used in the WPS, and some are only used in the tree. Change-Id: I4647a8c02d960234323a7f2bbf31fee9f8c5b91a
This commit is contained in:
parent
8aa3b22160
commit
fb0757b913
1 changed files with 2 additions and 2 deletions
|
@ -2103,13 +2103,13 @@ const struct settings_list settings[] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_HOTKEY
|
#ifdef HAVE_HOTKEY
|
||||||
TABLE_SETTING(F_ALLOW_ARBITRARY_VALS | F_CB_ON_SELECT_ONLY, hotkey_wps,
|
TABLE_SETTING(F_CB_ON_SELECT_ONLY, hotkey_wps,
|
||||||
LANG_HOTKEY_WPS, HOTKEY_VIEW_PLAYLIST, "hotkey wps",
|
LANG_HOTKEY_WPS, HOTKEY_VIEW_PLAYLIST, "hotkey wps",
|
||||||
"off,view playlist,show track info,pitchscreen,open with,delete,bookmark,plugin"
|
"off,view playlist,show track info,pitchscreen,open with,delete,bookmark,plugin"
|
||||||
,UNIT_INT, hotkey_formatter, hotkey_getlang, hotkey_callback,8, HOTKEY_OFF,
|
,UNIT_INT, hotkey_formatter, hotkey_getlang, hotkey_callback,8, HOTKEY_OFF,
|
||||||
HOTKEY_VIEW_PLAYLIST, HOTKEY_SHOW_TRACK_INFO, HOTKEY_PITCHSCREEN,
|
HOTKEY_VIEW_PLAYLIST, HOTKEY_SHOW_TRACK_INFO, HOTKEY_PITCHSCREEN,
|
||||||
HOTKEY_OPEN_WITH, HOTKEY_DELETE, HOTKEY_BOOKMARK, HOTKEY_PLUGIN),
|
HOTKEY_OPEN_WITH, HOTKEY_DELETE, HOTKEY_BOOKMARK, HOTKEY_PLUGIN),
|
||||||
TABLE_SETTING(F_ALLOW_ARBITRARY_VALS, hotkey_tree,
|
TABLE_SETTING(0, hotkey_tree,
|
||||||
LANG_HOTKEY_FILE_BROWSER, HOTKEY_OFF, "hotkey tree",
|
LANG_HOTKEY_FILE_BROWSER, HOTKEY_OFF, "hotkey tree",
|
||||||
#ifdef HAVE_TAGCACHE
|
#ifdef HAVE_TAGCACHE
|
||||||
"off,properties,pictureflow,open with,delete,insert,insert shuffled",
|
"off,properties,pictureflow,open with,delete,insert,insert shuffled",
|
||||||
|
|
Loading…
Reference in a new issue