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

@@ -826,7 +826,8 @@ void ExecuteCommand::run()
if (cmd)
{
Statusbar::msg(1, "Executing %s...", cmd_name.c_str());
cmd->binding().execute();
bool res = cmd->binding().execute();
Statusbar::msg("Execution %s.", res ? "successful" : "unsuccessful");
}
else
Statusbar::msg("No command named \"%s\"", cmd_name.c_str());