diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index a0baf79..a96925d 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -139,10 +139,10 @@ class MainWindow(QtWidgets.QMainWindow): @asyncSlot(ThermostatConnectionState) async def _on_connection_changed(self, state): self.graph_group.setEnabled(state == ThermostatConnectionState.CONNECTED) - self.report_group.setEnabled(state == ThermostatConnectionState.CONNECTED) self.thermostat_settings.setEnabled( state == ThermostatConnectionState.CONNECTED ) + self.report_group.setEnabled(state == ThermostatConnectionState.CONNECTED) match state: case ThermostatConnectionState.CONNECTED: