Skip to content

Commit

Permalink
fix(cpn): simulator radio output channel labels (#5147)
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower authored Jun 10, 2024
1 parent 39b6346 commit f18d2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions companion/src/simulation/radiooutputswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f18d2ff

Please sign in to comment.