mirror of
https://github.com/YACReader/yacreader
synced 2025-07-29 02:15:07 -04:00
shortcuts are now shown with their native representation, fixed edit shortcuts dialog layout
This commit is contained in:
@ -63,7 +63,7 @@ QVariant ActionsShortcutsModel::data(const QModelIndex &index, int role) const
|
||||
if (index.column() == NAME)
|
||||
return QVariant(actions[index.row()]->toolTip());
|
||||
if (index.column() == KEYS)
|
||||
return QVariant(actions[index.row()]->shortcut().toString());
|
||||
return QVariant(actions[index.row()]->shortcut().toString(QKeySequence::NativeText));
|
||||
|
||||
return QVariant();
|
||||
}
|
||||
|
Reference in New Issue
Block a user