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