1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-12 05:44:25 -04:00

Merge pull request #2797 from munzzyy/fix_2764

LocalSink: fix crash when adding channel with no Local Input device (#2764)
This commit is contained in:
Edouard Griffiths
2026-07-11 15:49:47 +02:00
committed by GitHub
+1 -1
View File
@@ -819,7 +819,7 @@ void LocalSink::updateDeviceSetList()
LocalSinkSettings settings = m_settings;
int newIndexInList;
if (it != deviceSets.begin())
if (!m_localInputDeviceIndexes.empty()) // there are some local input devices
{
if (m_settings.m_localDeviceIndex < 0) {
newIndexInList = 0;