window: fix exiting from getString if helper indicates so

This commit is contained in:
Andrzej Rybczak
2014-08-27 01:48:40 +02:00
parent a7f3992c97
commit 1fc2ce2d3c
3 changed files with 14 additions and 6 deletions

View File

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