mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
Add facility to translate a key binding entry's result back to a string and use it in the key binding editor.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676126
This commit is contained in:
@@ -111,7 +111,7 @@ void KeyBindingEditor::setupKeyBindingTable(const KeyboardTranslator* translator
|
||||
const KeyboardTranslator::Entry& entry = entries.at(row);
|
||||
|
||||
QTableWidgetItem* keyItem = new QTableWidgetItem(entry.conditionToString());
|
||||
QTableWidgetItem* textItem = new QTableWidgetItem(QString(entry.text()));
|
||||
QTableWidgetItem* textItem = new QTableWidgetItem(QString(entry.resultToString()));
|
||||
|
||||
_ui->keyBindingTable->setItem(row,0,keyItem);
|
||||
_ui->keyBindingTable->setItem(row,1,textItem);
|
||||
|
||||
Reference in New Issue
Block a user