Commit ef2bcfc8 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix setting shortcuts in the Manager Profile dialog

The shortcut editor wasn't saving the input on the first try.

patch by Marco Gulino

BUG: 304004
FIXED-IN: 4.10
(cherry picked from commit a8dc722a)
parent cc43ba8f
......@@ -479,6 +479,8 @@ void ShortcutItemDelegate::editorModified(const QKeySequence& keys)
KKeySequenceWidget* editor = qobject_cast<KKeySequenceWidget*>(sender());
emit commitData(editor);
emit closeEditor(editor);
void ShortcutItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index) const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment