diff --git a/pytec/pytec/gui/view/ctrl_panel.py b/pytec/pytec/gui/view/ctrl_panel.py index bec6dba..d578727 100644 --- a/pytec/pytec/gui/view/ctrl_panel.py +++ b/pytec/pytec/gui/view/ctrl_panel.py @@ -53,7 +53,7 @@ class CtrlPanel(QObject): param.child(*handle[0]).sigActivated.connect(handle[1]) param.child("output", "control_method").sigValueChanged.connect( - lambda param, value: param.child("i_set").show( + lambda param, value: param.child("i_set").setWritable( value == "constant_current" ) )