Gui: remove command description label in Customize -> Keyboard

Because long description may cause undesired dialog layout changes. The
description is available through tool tip of the command tree widget.
This commit is contained in:
Zheng, Lei
2022-03-12 15:06:50 +08:00
committed by wwmayer
parent 64bddb0d88
commit 93c4c0884e
2 changed files with 1 additions and 36 deletions

View File

@@ -391,8 +391,6 @@ void DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(QTreeWidgetIt
ui->buttonAssign->setEnabled(!ui->editShortcut->text().isEmpty() && (ks != ks3));
ui->buttonReset->setEnabled((ks != ks2));
}
ui->textLabelDescription->setText(Action::commandToolTip(cmd, false));
}
/** Shows all commands of this category */