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

Fix built-in device selection regression

Built-in devices were previously always selectable regardless of
their claimed state. The "show devices in use" change
https://github.com/f4exb/sdrangel/commit/964bc0994d1e5c54ef8b08eb9102e0ee4f7d744e
inadvertently disabled all claimed devices in the selection dialog,
preventing multiple instances of FileInput, RemoteTCPInput, AudioInput,
TestSource and other built-in sources from being opened. :(

Only claimed physical devices are now disabled and marked
"[in use]". Built-in devices remain selectable as before.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
This commit is contained in:
Robin Getz
2026-07-21 19:42:51 -04:00
parent 01a23e6f22
commit f0f19d1d37
+2 -1
View File
@@ -91,7 +91,8 @@ void SamplingDeviceDialog::displayDevices()
samplingDevice = DeviceEnumerator::instance()->getMIMOSamplingDevice(coreDeviceIndex);
}
if (samplingDevice && samplingDevice->claimed >= 0) {
if (samplingDevice && samplingDevice->claimed >= 0 &&
samplingDevice->type != PluginInterface::SamplingDevice::BuiltInDevice) {
QStandardItem *item = model->item(idx);
if (item) {
// Deactivate to block selection clicks