Massive UI revamping (v7): Fixed Tx and MIMO channel device label when retrieved from configuration. Fixes #1227

This commit is contained in:
f4exb 2022-05-02 02:01:10 +02:00
parent c892ed558d
commit 32820e25b4
1 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ void DeviceUISet::loadTxChannelSettings(const Preset *preset, PluginAPI *pluginA
}
txChannelGUI->restoreGeometry(txChannelGUI->getGeometryBytes());
txChannelGUI->setDeviceType(ChannelGUI::DeviceRx);
txChannelGUI->setDeviceType(ChannelGUI::DeviceTx);
txChannelGUI->setDeviceSetIndex(m_deviceSetIndex);
txChannelGUI->setIndex(channelAPI->getIndexInDeviceSet());
txChannelGUI->setIndexToolTip(m_deviceAPI->getSamplingDeviceDisplayName());
@ -636,7 +636,7 @@ void DeviceUISet::loadMIMOChannelSettings(const Preset *preset, PluginAPI *plugi
}
channelGUI->restoreGeometry(channelGUI->getGeometryBytes());
channelGUI->setDeviceType(ChannelGUI::DeviceRx);
channelGUI->setDeviceType(ChannelGUI::DeviceMIMO);
channelGUI->setDeviceSetIndex(m_deviceSetIndex);
channelGUI->setIndex(channelAPI->getIndexInDeviceSet());
channelGUI->setIndexToolTip(m_deviceAPI->getSamplingDeviceDisplayName());