From 32820e25b4afd306d50d154b64ff451fbc8e7961 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 2 May 2022 02:01:10 +0200 Subject: [PATCH] Massive UI revamping (v7): Fixed Tx and MIMO channel device label when retrieved from configuration. Fixes #1227 --- sdrgui/device/deviceuiset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdrgui/device/deviceuiset.cpp b/sdrgui/device/deviceuiset.cpp index 7ca335251..084c54e2c 100644 --- a/sdrgui/device/deviceuiset.cpp +++ b/sdrgui/device/deviceuiset.cpp @@ -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());