summaryrefslogtreecommitdiff
path: root/src/bindings.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-05-17 18:10:42 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2015-05-17 21:51:15 +0200
commit2caf08aaa783cfabf54212bcb0197afc1db24440 (patch)
tree7d3f23002bbf502b2f0b804660616b7553ea1ae7 /src/bindings.cpp
parentc68631b2f080257108f979295fc6a5e2d58304d6 (diff)
split PressSpace action into modular pieces
Diffstat (limited to 'src/bindings.cpp')
-rw-r--r--src/bindings.cpp8
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);