Commit 1751840e authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Make keytab description non-editable in the keyboard tab

Note, this doesn't mean the description can't be edited. It just can't
be changed in that UI.

Thanks to Yichao Yu for the spotting and the patch.

REVIEW: 107289
parent e245ac71
......@@ -550,6 +550,7 @@ void EditProfileDialog::updateKeyBindingsList(bool selectCurrentTranslator)
const KeyboardTranslator* translator = keyManager->findTranslator(translatorName);
QStandardItem* item = new QStandardItem(translator->description());
item->setEditable(false);
item->setData(QVariant::fromValue(translator), Qt::UserRole + 1);
item->setIcon(KIcon("preferences-desktop-keyboard"));
......
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