From 0cb50d5aacf9b6fe1a2f4d8e5b28be78f8acc2b1 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 28 Jun 2024 10:02:43 +0800 Subject: [PATCH] Swap order arounda bit more --- pytec/tec_qt.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index ddf4cbe..786a43a 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -89,15 +89,16 @@ class MainWindow(QtWidgets.QMainWindow): ] 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.ch0_tree, self.ch1_tree], get_ctrl_panel_config(args), self.send_command, 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.zero_limits_warning.set_limits_warning )