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

This commit is contained in:
wyzula_j committed 2024-11-07 16:47:42 +01:00
1 parent 4f0693cae3
commit 5fabd4bea9
1 file changed
+1 -1
@@ -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