1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-12-30 10:41:18 +01:00

fix: add all devices to test list

This commit is contained in:
2025-09-04 13:27:20 +02:00
committed by wyzula-jan
parent 24c213a705
commit 5281d380cb

View File

@@ -222,10 +222,11 @@ class DMOphydTest(BECWidget, QtWidgets.QWidget):
name = cfg.get("name", "<not found>")
if added:
if name in self._device_list_items:
return
return self._add_device(name, cfg)
continue
self._add_device(name, cfg)
continue
if name not in self._device_list_items:
return
continue
self._remove_list_item(name)
def _add_device(self, name, cfg):