Skip to content

Commit

Permalink
fix tool titles in shortcut preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
qcad committed Jan 4, 2016
1 parent 994598f commit d76ebab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/AddOn.js
Expand Up @@ -296,6 +296,11 @@ AddOn.prototype.getTitle = function() {

if (!isNull(title)) {
title = title.replace("&", "");

// remove everything after tab (shortcuts under windows):
if (title.indexOf("\t")!==-1) {
title = title.substring(0, title.indexOf("\t"));
}
}

return title;
Expand Down

0 comments on commit d76ebab

Please sign in to comment.