diff --git a/pytec/pytec/gui/view/ctrl_panel.py b/pytec/pytec/gui/view/ctrl_panel.py index 99432f0..9ccbb05 100644 --- a/pytec/pytec/gui/view/ctrl_panel.py +++ b/pytec/pytec/gui/view/ctrl_panel.py @@ -65,14 +65,12 @@ class CtrlPanel(QObject): self.trees_ui = trees_ui self.NUM_CHANNELS = len(trees_ui) - self.THERMOSTAT_PARAMETERS = [param_tree for i in range(self.NUM_CHANNELS)] - self.params = [ Parameter.create( name=f"Thermostat Channel {ch} Parameters", type="group", value=ch, - children=self.THERMOSTAT_PARAMETERS[ch], + children=param_tree, ) for ch in range(self.NUM_CHANNELS) ]