diff --git a/sdrgui/device/deviceuiset.cpp b/sdrgui/device/deviceuiset.cpp index 83e2f22ac..c4afa4830 100644 --- a/sdrgui/device/deviceuiset.cpp +++ b/sdrgui/device/deviceuiset.cpp @@ -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(); }