diff --git a/selectradio.cpp b/selectradio.cpp index f569edd..5ea1b56 100644 --- a/selectradio.cpp +++ b/selectradio.cpp @@ -28,6 +28,9 @@ void selectRadio::populate(QList radios) ui->table->setItem(row, 1, new QTableWidgetItem(QString("%1").arg((unsigned char)radios[row].civ, 2, 16, QLatin1Char('0')).toUpper())); ui->table->setItem(row, 2, new QTableWidgetItem(QString::number(qFromBigEndian(radios[row].baudrate)))); } + if (radios.count() > 1) { + this->setVisible(true); + } } void selectRadio::setInUse(int radio, bool busy, QString user, QString ip) diff --git a/selectradio.ui b/selectradio.ui index 5716e2a..46be235 100644 --- a/selectradio.ui +++ b/selectradio.ui @@ -6,8 +6,8 @@ 0 0 - 680 - 498 + 590 + 206 diff --git a/wfview.vcxproj.user b/wfview.vcxproj.user index 8cf5a5b..ba3b589 100644 --- a/wfview.vcxproj.user +++ b/wfview.vcxproj.user @@ -7,7 +7,7 @@ PATH=$(QTDIR)\bin%3bC:\QT\5.15.2\MSVC2019\bin%3b$(QTDIR)\bin%3bC:\QT\5.15.2\MSVC2019\bin%3b$(PATH) - 2022-01-22T12:48:05.0658578Z + 2022-01-22T22:51:25.6471709Z 2022-01-22T12:48:06.5160626Z