Commit 5c5cb115 authored by Jerome Carnis's avatar Jerome Carnis 🦊
Browse files

deviceMethodWidget.py: append only one time an index to the list of editable widgets

parent c51422d4
......@@ -261,6 +261,7 @@ class MethodEnabledByAttributeWidget(DeviceMethodEnabledWidget):
for grandchild in child.children():
if isinstance(grandchild, (QSpinBox, QDoubleSpinBox)):
self._editable_widgets.append(idx)
break
def init_signals(self) -> None:
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment