1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 08:54:49 -04:00

Fix renumberate deviceset without modifying claimed of SamplingDevice

This commit is contained in:
mxi-box
2024-02-28 06:46:35 +08:00
parent 480241fa8e
commit 2de9f16be4
3 changed files with 17 additions and 0 deletions
+1
View File
@@ -1072,6 +1072,7 @@ void MainWindow::removeDeviceSet(int deviceSetIndex)
m_deviceUIs.erase(m_deviceUIs.begin() + deviceSetIndex);
m_mainCore->removeDeviceSet(deviceSetIndex);
DeviceEnumerator::instance()->renumeratetabIndex(deviceSetIndex);
// Renumerate
for (int i = 0; i < (int) m_deviceUIs.size(); i++)