wip no queued connection and no _destroyed

This commit is contained in:
2026-05-20 17:59:48 +02:00
parent ae9daff6ed
commit 5f0d1c3f43
2 changed files with 6 additions and 6 deletions
@@ -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()
@@ -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]