bindings: allow for binding multiple chains to one key

This commit is contained in:
Andrzej Rybczak
2014-08-27 01:15:28 +02:00
parent afd5c22acf
commit a7f3992c97
5 changed files with 36 additions and 53 deletions

View File

@@ -233,7 +233,7 @@ bool BindingsConfiguration::read(const std::string &file)
{
if (!actions.empty())
{
m_commands.insert(std::make_pair(cmd_name, Command(actions, cmd_immediate)));
m_commands.insert(std::make_pair(cmd_name, Command(std::move(actions), cmd_immediate)));
actions.clear();
return true;
}