bindings: make run_action take precedence over play_item

This commit is contained in:
Andrzej Rybczak
2015-11-13 03:26:49 +01:00
parent 103e6de214
commit 7f148f9c34
3 changed files with 4 additions and 3 deletions

1
NEWS
View File

@@ -1,5 +1,6 @@
ncmpcpp-0.7_beta2 (????-??-??) ncmpcpp-0.7_beta2 (????-??-??)
* Playlist sorting dialog now contains 'Album artist' option. * Playlist sorting dialog now contains 'Album artist' option.
* Default keybindings were corrected to allow tag edition in the right column of tag editor.
ncmpcpp-0.6.8 (2015-11-11) ncmpcpp-0.6.8 (2015-11-11)
* Application is now compatible with MPD >= 0.20. * Application is now compatible with MPD >= 0.20.

View File

@@ -199,10 +199,10 @@
# toggle_output # toggle_output
# #
#def_key "enter" #def_key "enter"
# play_item # run_action
# #
#def_key "enter" #def_key "enter"
# run_action # play_item
# #
#def_key "space" #def_key "space"
# add_item_to_playlist # add_item_to_playlist

View File

@@ -499,8 +499,8 @@ void BindingsConfiguration::generateDefaults()
{ {
bind(k, Actions::Type::EnterDirectory); bind(k, Actions::Type::EnterDirectory);
bind(k, Actions::Type::ToggleOutput); bind(k, Actions::Type::ToggleOutput);
bind(k, Actions::Type::PlayItem);
bind(k, Actions::Type::RunAction); bind(k, Actions::Type::RunAction);
bind(k, Actions::Type::PlayItem);
} }
if (notBound(k = stringToKey("space"))) if (notBound(k = stringToKey("space")))
{ {