From f0f19d1d37534a125c3ded75e4b55ce871e9d1a8 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Tue, 21 Jul 2026 19:42:51 -0400 Subject: [PATCH] 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 --- sdrgui/gui/samplingdevicedialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdrgui/gui/samplingdevicedialog.cpp b/sdrgui/gui/samplingdevicedialog.cpp index 7c5824357..25a0eccd3 100644 --- a/sdrgui/gui/samplingdevicedialog.cpp +++ b/sdrgui/gui/samplingdevicedialog.cpp @@ -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