mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
DeviceUISet: fixed deleteChannel not actually deleting the channel unlike DeviceSet equivalent
This commit is contained in:
parent
ee0655a851
commit
d1637e0158
@ -170,6 +170,7 @@ void DeviceUISet::deleteChannel(int channelIndex)
|
|||||||
qDebug("DeviceUISet::deleteChannel: delete channel [%s] at %d",
|
qDebug("DeviceUISet::deleteChannel: delete channel [%s] at %d",
|
||||||
qPrintable(m_channelInstanceRegistrations[channelIndex].m_channelName),
|
qPrintable(m_channelInstanceRegistrations[channelIndex].m_channelName),
|
||||||
channelIndex);
|
channelIndex);
|
||||||
|
m_channelInstanceRegistrations[channelIndex].m_gui->destroy();
|
||||||
m_channelInstanceRegistrations.removeAt(channelIndex);
|
m_channelInstanceRegistrations.removeAt(channelIndex);
|
||||||
renameChannelInstances();
|
renameChannelInstances();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user