From d244ba392ad47475fb81808b8248eb38946e2a88 Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 11 Jul 2024 12:49:26 +0800 Subject: [PATCH] Fix typos --- pytec/pytec/gui/model/thermostat.py | 2 +- pytec/tec_qt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 4f2c195..75615a2 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -117,7 +117,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): async def save_cfg(self, ch): await self._client.save_config(ch) self.info_box_trigger.emit( - "Config loaded", f"Channel {ch} Config has been loaded from flash." + "Config saved", f"Channel {ch} Config has been saved from flash." ) @asyncSlot() diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index e2d5312..2393d0a 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -332,7 +332,7 @@ class MainWindow(QtWidgets.QMainWindow): case PIDAutotuneState.STATE_FAILED: self.info_box.display_info_box( - "PID Autotune Failed", f"Channel {ch} PID Autotune is failed." + "PID Autotune Failed", f"Channel {ch} PID Autotune has failed." ) self.info_box.show()