1
0
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:
f4exb 2020-07-13 09:48:39 +02:00
parent ee0655a851
commit d1637e0158

View File

@ -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();
} }