forked from M-Labs/thermostat
Swap order arounda bit more
This commit is contained in:
parent
f632349c62
commit
f77f5399cf
@ -89,15 +89,16 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
]
|
]
|
||||||
self.thermostat.info_box_trigger.connect(self.info_box.display_info_box)
|
self.thermostat.info_box_trigger.connect(self.info_box.display_info_box)
|
||||||
|
|
||||||
self.zero_limits_warning = ZeroLimitsWarningView(
|
|
||||||
self.style(), self.limits_warning
|
|
||||||
)
|
|
||||||
self.ctrl_panel_view = CtrlPanel(
|
self.ctrl_panel_view = CtrlPanel(
|
||||||
[self.ch0_tree, self.ch1_tree],
|
[self.ch0_tree, self.ch1_tree],
|
||||||
get_ctrl_panel_config(args),
|
get_ctrl_panel_config(args),
|
||||||
self.send_command,
|
self.send_command,
|
||||||
param_tree_sigActivated_handles,
|
param_tree_sigActivated_handles,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
self.zero_limits_warning = ZeroLimitsWarningView(
|
||||||
|
self.style(), self.limits_warning
|
||||||
|
)
|
||||||
self.ctrl_panel_view.set_zero_limits_warning_sig.connect(
|
self.ctrl_panel_view.set_zero_limits_warning_sig.connect(
|
||||||
self.zero_limits_warning.set_limits_warning
|
self.zero_limits_warning.set_limits_warning
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user