kopia lustrzana https://github.com/f4exb/sdrangel
DeviceUISet: fixed deleteChannel not actually deleting the channel unlike DeviceSet equivalent
rodzic
ee0655a851
commit
d1637e0158
|
@ -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();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue