From ac0b82d3c240759cee8aca3831bae29823e82253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dutkiewicz?= Date: Sun, 22 Oct 2017 10:09:35 +0200 Subject: [PATCH] Update action name --- src/ui/preferences/KeyboardProfileDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/preferences/KeyboardProfileDialog.cpp b/src/ui/preferences/KeyboardProfileDialog.cpp index 9074049d39..1f2e7ca3c8 100644 --- a/src/ui/preferences/KeyboardProfileDialog.cpp +++ b/src/ui/preferences/KeyboardProfileDialog.cpp @@ -70,6 +70,7 @@ void KeyboardActionDelegate::setModelData(QWidget *editor, QAbstractItemModel *m model->setData(index, definition.getText(true), Qt::DisplayRole); model->setData(index, QStringLiteral("%1 (%2)").arg(definition.getText(true)).arg(name), Qt::ToolTipRole); model->setData(index, widget->getActionIdentifier(), KeyboardProfileDialog::IdentifierRole); + model->setData(index, name, KeyboardProfileDialog::Name); if (definition.defaultState.icon.isNull()) {