Merge pull request 'GUI: Text changes' (#3) from gui_dev-str_changes into gui_dev

Reviewed-on: linuswck/thermostat#3
This commit is contained in:
linuswck 2024-07-19 15:36:01 +08:00
commit b768d61e39
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
async def save_cfg(self, ch): async def save_cfg(self, ch):
await self._client.save_config(ch) await self._client.save_config(ch)
self.info_box_trigger.emit( 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() @asyncSlot()

View File

@ -332,7 +332,7 @@ class MainWindow(QtWidgets.QMainWindow):
case PIDAutotuneState.STATE_FAILED: case PIDAutotuneState.STATE_FAILED:
self.info_box.display_info_box( 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() self.info_box.show()