diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-17 18:10:42 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-17 21:51:15 +0200 |
commit | 2caf08aaa783cfabf54212bcb0197afc1db24440 (patch) | |
tree | 7d3f23002bbf502b2f0b804660616b7553ea1ae7 /src/bindings.cpp | |
parent | c68631b2f080257108f979295fc6a5e2d58304d6 (diff) |
split PressSpace action into modular pieces
Diffstat (limited to 'src/bindings.cpp')
-rw-r--r-- | src/bindings.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bindings.cpp b/src/bindings.cpp index 18e03ecd..3a9e824e 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -472,10 +472,14 @@ void BindingsConfiguration::generateDefaults() bind(k, Actions::Type::MoveEnd); if (notBound(k = stringToKey("insert"))) bind(k, Actions::Type::SelectItem); - if (notBound(k = stringToKey("space"))) - bind(k, Actions::Type::PressSpace); if (notBound(k = stringToKey("enter"))) bind(k, Actions::Type::PressEnter); + if (notBound(k = stringToKey("space"))) + { + bind(k, Actions::Type::AddItemToPlaylist); + bind(k, Actions::Type::ToggleLyricsUpdateOnSongChange); + bind(k, Actions::Type::ToggleVisualizationType); + } if (notBound(k = stringToKey("delete"))) { bind(k, Actions::Type::DeletePlaylistItems); |