actions: move item selection to its own action and bind it to insert

This commit is contained in:
Andrzej Rybczak
2015-05-09 21:37:40 +02:00
parent ccb468592d
commit 38b1064f1f
25 changed files with 260 additions and 290 deletions

View File

@@ -359,6 +359,8 @@ void BindingsConfiguration::generateDefaults()
bind(k, Actions::Type::MoveHome);
if (notBound(k = stringToKey("end")))
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")))
@@ -463,8 +465,6 @@ void BindingsConfiguration::generateDefaults()
bind(k, Actions::Type::ToggleConsume);
if (notBound(k = stringToKey("Y")))
bind(k, Actions::Type::ToggleReplayGainMode);
if (notBound(k = stringToKey("t")))
bind(k, Actions::Type::ToggleSpaceMode);
if (notBound(k = stringToKey("T")))
bind(k, Actions::Type::ToggleAddMode);
if (notBound(k = stringToKey("|")))