mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
MainWindow: disconnect prior to connect in device re-numeration. Fixes #1620
This commit is contained in:
parent
683bf51d0e
commit
7928d48257
@ -1081,6 +1081,12 @@ void MainWindow::removeDeviceSet(int deviceSetIndex)
|
||||
DeviceGUI *deviceGUI = m_deviceUIs[i]->m_deviceGUI;
|
||||
Workspace *deviceWorkspace = m_workspaces[deviceGUI->getWorkspaceIndex()];
|
||||
|
||||
QObject::disconnect(
|
||||
deviceGUI,
|
||||
&DeviceGUI::addChannelEmitted,
|
||||
this,
|
||||
nullptr
|
||||
);
|
||||
QObject::connect(
|
||||
deviceGUI,
|
||||
&DeviceGUI::addChannelEmitted,
|
||||
|
Loading…
Reference in New Issue
Block a user