[Simulator] Revert logic switch names in Radio Outputs view to numbers-only (since @72b1ad0, closes #4877).

This commit is contained in:
Max Paperno
2017-04-29 20:49:04 -04:00
parent 582546f8ed
commit 6abd36d628
@@ -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;