Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed #6: Shortcut manager shows extra "&"

  • Loading branch information...
commit e55794344fcb0d1f73fb8833636515397e18567b 1 parent b8ce772
@pvanek pvanek authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  plugins/keybindings/KeysPage.cpp
View
3  plugins/keybindings/KeysPage.cpp
@@ -37,7 +37,8 @@ void KeysPage::init() {
QAction* a = storage_->action(id);
if ( NULL != a ) {
QStringList list;
- list << ""<< a->text() << a->shortcut().toString();
+ // let's remove "&" from action's text to fix #6: Shortcut manager shows extra "&"
+ list << ""<< a->text().replace("&", "") << a->shortcut().toString();
QTreeWidgetItem* item = new QTreeWidgetItem(list);
item->setIcon(0, a->icon());
item->setData(3, Qt::UserRole + 1, id);
Please sign in to comment.
Something went wrong with that request. Please try again.