fix(cpn): simulator radio output channel labels (#5147)
This commit is contained in:
@@ -163,9 +163,9 @@ void RadioOutputsWidget::setupChannelsDisplay(bool mixes)
|
|||||||
|
|
||||||
// populate outputs
|
// populate outputs
|
||||||
int column = 0;
|
int column = 0;
|
||||||
for (int i=0; i < outputs; i++) {
|
for (int i = 0; i < outputs; i++) {
|
||||||
QLabel * label = new QLabel(channelsWidget);
|
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->setAlignment(Qt::AlignCenter);
|
||||||
label->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
label->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||||
channelsLayout->addWidget(label, 0, column, 1, 1);
|
channelsLayout->addWidget(label, 0, column, 1, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user