DeviceUISet: fixed deleteChannel not actually deleting the channel unlike DeviceSet equivalent

pull/575/head
f4exb 2020-07-13 09:48:39 +02:00
rodzic ee0655a851
commit d1637e0158
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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