fix(cpn): simulator radio output channel labels (#5147)

This commit is contained in:
Neil Horne
2024-06-11 08:22:00 +10:00
committed by GitHub
parent 39b6346808
commit f18d2ff312
@@ -163,9 +163,9 @@ void RadioOutputsWidget::setupChannelsDisplay(bool mixes)
// populate outputs
int column = 0;
for (int i=0; i < outputs; i++) {
for (int i = 0; i < outputs; i++) {
QLabel * label = new QLabel(channelsWidget);
label->setText(" " + RawSource(SOURCE_TYPE_CH, i).toString() + " ");
label->setText(" " + RawSource(SOURCE_TYPE_CH, i + 1).toString() + " ");
label->setAlignment(Qt::AlignCenter);
label->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
channelsLayout->addWidget(label, 0, column, 1, 1);