mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 05:41:56 -05:00
Device UI set and Device set channel registrations unification: fixed bug
This commit is contained in:
parent
d1ba318c45
commit
410a588fe0
@ -318,15 +318,8 @@ void DeviceUISet::saveTxChannelSettings(Preset *preset)
|
||||
|
||||
void DeviceUISet::renameChannelInstances()
|
||||
{
|
||||
int mimoCount = 0;
|
||||
|
||||
for(int i = 0; i < m_channelInstanceRegistrations.count(); i++)
|
||||
{
|
||||
if (m_channelInstanceTypes[i] == 2)
|
||||
{
|
||||
m_channelInstanceRegistrations[i].m_gui->setName(QString("%1:%2").arg(m_channelInstanceRegistrations[i].m_channelName).arg(i));
|
||||
mimoCount++;
|
||||
}
|
||||
for (int i = 0; i < m_channelInstanceRegistrations.count(); i++) {
|
||||
m_channelInstanceRegistrations[i].m_gui->setName(QString("%1:%2").arg(m_channelInstanceRegistrations[i].m_channelName).arg(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,6 @@ private:
|
||||
// ChannelInstanceRegistrations m_rxChannelInstanceRegistrations;
|
||||
// ChannelInstanceRegistrations m_txChannelInstanceRegistrations;
|
||||
ChannelInstanceRegistrations m_channelInstanceRegistrations;
|
||||
QList<int> m_channelInstanceTypes;
|
||||
int m_deviceTabIndex;
|
||||
int m_nbAvailableRxChannels; //!< Number of Rx channels available for selection
|
||||
int m_nbAvailableTxChannels; //!< Number of Tx channels available for selection
|
||||
|
Loading…
Reference in New Issue
Block a user