strip <Actions>/ from displayed path when printing bindings to HTML
This commit is contained in:
parent
91dcccb12b
commit
f84bebbb30
@ -825,10 +825,14 @@ Bindings::save_all_bindings_as_html (ostream& ostr)
|
||||
|
||||
for (p = paths.begin(), k = keys.begin(), l = labels.begin(); p != paths.end(); ++k, ++p, ++l) {
|
||||
|
||||
string print_path = *p;
|
||||
/* strip <Actions>/ from the start */
|
||||
print_path = print_path.substr (10);
|
||||
|
||||
if ((*k).empty()) {
|
||||
ostr << *p << " ( " << *l << " ) " << "</br>" << endl;
|
||||
ostr << print_path << " ( " << *l << " ) " << "</br>" << endl;
|
||||
} else {
|
||||
ostr << *p << " ( " << *l << " ) " << " => " << *k << "</br>" << endl;
|
||||
ostr << print_path << " ( " << *l << " ) " << " => " << *k << "</br>" << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user