From d1637e015865d65eba255b57bdf9ff0587715a4a Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 13 Jul 2020 09:48:39 +0200 Subject: [PATCH] DeviceUISet: fixed deleteChannel not actually deleting the channel unlike DeviceSet equivalent --- sdrgui/device/deviceuiset.cpp | 1 + 1 file changed, 1 insertion(+) 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(); }