Commit a8dc722a 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 marco.gulino@gmail.com

BUG: 304004
FIXED-IN: 4.10
parent f43dd28d
......@@ -479,6 +479,8 @@ void ShortcutItemDelegate::editorModified(const QKeySequence& keys)
KKeySequenceWidget* editor = qobject_cast<KKeySequenceWidget*>(sender());
Q_ASSERT(editor);
_modifiedEditors.insert(editor);
emit commitData(editor);
emit closeEditor(editor);
}
void ShortcutItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index) const
......
Markdown is supported
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