diff --git a/bec_widgets/widgets/control/device_input/device_combobox/device_combobox.py b/bec_widgets/widgets/control/device_input/device_combobox/device_combobox.py index 256b6b9a..8b5e6030 100644 --- a/bec_widgets/widgets/control/device_input/device_combobox/device_combobox.py +++ b/bec_widgets/widgets/control/device_input/device_combobox/device_combobox.py @@ -257,8 +257,8 @@ class DeviceComboBox(BECWidget, QComboBox): @SafeSlot() def update_devices_from_filters(self): """Refresh the available device list from current device/readout/signal filters.""" - if getattr(self, "_destroyed", False): - return + # if getattr(self, "_destroyed", False): + # return self.config.device_filter = [entry.value for entry in self.device_filter] self.config.readout_filter = [entry.value for entry in self.readout_filter] @@ -494,8 +494,8 @@ class DeviceComboBox(BECWidget, QComboBox): action: Device update action emitted by BEC. content: Device update payload. Currently unused. """ - if getattr(self, "_destroyed", False): - return + # if getattr(self, "_destroyed", False): + # return if action in ["add", "remove", "reload"]: self.device_config_update.emit() diff --git a/bec_widgets/widgets/control/device_input/signal_combobox/signal_combobox.py b/bec_widgets/widgets/control/device_input/signal_combobox/signal_combobox.py index 28d67389..44735a21 100644 --- a/bec_widgets/widgets/control/device_input/signal_combobox/signal_combobox.py +++ b/bec_widgets/widgets/control/device_input/signal_combobox/signal_combobox.py @@ -211,8 +211,8 @@ class SignalComboBox(BECWidget, QComboBox): content: Optional callback payload from BEC device updates. Currently unused. metadata: Optional callback metadata from BEC device updates. Currently unused. """ - if getattr(self, "_destroyed", False): - return + # if getattr(self, "_destroyed", False): + # return self.config.signal_filter = [kind.name for kind in self.signal_filter]