[Simulator] Revert logic switch names in Radio Outputs view to numbers-only (since @72b1ad0, closes #4877).
This commit is contained in:
@@ -267,7 +267,7 @@ QWidget * RadioOutputsWidget::createLogicalSwitch(QWidget * parent, int switchNo
|
||||
swtch->setMinimumWidth(swtch->fontMetrics().width("99") + 10);
|
||||
font.setBold(false);
|
||||
swtch->setFont(font);
|
||||
swtch->setText(QString("%1").arg(RawSwitch(SWITCH_TYPE_VIRTUAL, switchNo+1).toString().remove("L"), 2, QLatin1Char('0')));
|
||||
swtch->setText(QString("%1").arg(switchNo+1, 2, 10, QChar('0')));
|
||||
swtch->setAlignment(Qt::AlignCenter);
|
||||
m_logicSwitchMap.insert(switchNo, swtch);
|
||||
return swtch;
|
||||
|
||||
Reference in New Issue
Block a user