fix(renderer): Do not escape parsed action cmds #444

This commit is contained in:
Michael Carlberg
2017-03-21 16:03:34 +01:00
parent f3089e88f2
commit 5c86842083
2 changed files with 8 additions and 5 deletions

View File

@ -731,7 +731,7 @@ bool renderer::on(const signals::parser::action_begin& evt) {
action.button = a.button == mousebtn::NONE ? mousebtn::LEFT : a.button;
action.align = m_align;
action.start_x = m_blocks.at(m_align).x;
action.command = string_util::replace_all(a.command, ":", "\\:");
action.command = string_util::replace_all(a.command, "\\:", ":");
action.active = true;
m_actions.emplace_back(action);
return true;