mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Rotator controller: Fix initialisation of serial port. Fix crash when serial port not initialised
This commit is contained in:
@@ -163,6 +163,9 @@ GS232ControllerGUI::GS232ControllerGUI(PluginAPI* pluginAPI, FeatureUISet *featu
|
||||
ui->elevationCurrentText->setText("-");
|
||||
|
||||
updateSerialPortList();
|
||||
if (ui->serialPort->currentIndex() >= 0) {
|
||||
on_serialPort_currentIndexChanged(ui->serialPort->currentIndex());
|
||||
}
|
||||
|
||||
m_settings.setRollupState(&m_rollupState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user