0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix(scan_control): DeviceLineEdit kwargs readings changed to get name of the positioner

This commit is contained in:
2024-11-07 16:30:24 +01:00
parent 4f0693cae3
commit 5fabd4bea9

View File

@ -321,7 +321,7 @@ class ScanGroupBox(QGroupBox):
for i in range(self.layout.columnCount()):
widget = self.layout.itemAtPosition(1, i).widget()
if isinstance(widget, DeviceLineEdit) and device_object:
value = widget.get_device()
value = widget.get_current_device().name
else:
value = WidgetIO.get_value(widget)
kwargs[widget.arg_name] = value