mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(scan_control): DeviceLineEdit kwargs readings changed to get name of the positioner
This commit is contained in:
@ -321,7 +321,7 @@ class ScanGroupBox(QGroupBox):
|
|||||||
for i in range(self.layout.columnCount()):
|
for i in range(self.layout.columnCount()):
|
||||||
widget = self.layout.itemAtPosition(1, i).widget()
|
widget = self.layout.itemAtPosition(1, i).widget()
|
||||||
if isinstance(widget, DeviceLineEdit) and device_object:
|
if isinstance(widget, DeviceLineEdit) and device_object:
|
||||||
value = widget.get_device()
|
value = widget.get_current_device().name
|
||||||
else:
|
else:
|
||||||
value = WidgetIO.get_value(widget)
|
value = WidgetIO.get_value(widget)
|
||||||
kwargs[widget.arg_name] = value
|
kwargs[widget.arg_name] = value
|
||||||
|
Reference in New Issue
Block a user