mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Commands: use dash in P/R column to show that key association is not active
This commit is contained in:
parent
f60f418f1b
commit
7974548a25
@ -698,7 +698,7 @@ QTreeWidgetItem* MainWindow::addCommandToTree(const Command* command)
|
||||
|
||||
QStringList sl;
|
||||
sl.append(QString("%1").arg(command->getDescription())); // Descriptions column
|
||||
sl.append(QString("%1").arg(command->getAssociateKey() ? command->getRelease() ? "R" : "P" : "")); // key press/release column
|
||||
sl.append(QString("%1").arg(command->getAssociateKey() ? command->getRelease() ? "R" : "P" : "-")); // key press/release column
|
||||
sl.append(QString("%1").arg(command->getKeyLabel())); // key column
|
||||
CommandItem* item = new CommandItem(group, sl, command->getDescription(), PItem);
|
||||
item->setData(0, Qt::UserRole, qVariantFromValue(command));
|
||||
|
Loading…
Reference in New Issue
Block a user