From d8e9c39fda76a46c15900a96c591472cd5d7cc61 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 23 Jun 2026 22:28:37 +0200 Subject: [PATCH] Revert "GUI: stop pre-dialing the Pot reset spinbox to ambient temperature" This reverts commit 9373cc408a2337b32f2e6736ff2f558f890da2b9. --- client/brewpi_gui.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/brewpi_gui.py b/client/brewpi_gui.py index b11a5b0..70c17a2 100755 --- a/client/brewpi_gui.py +++ b/client/brewpi_gui.py @@ -375,6 +375,13 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow): self.doubleSpinBox_ambient.setValue(remembered_ambient) self.doubleSpinBox_ambient.blockSignals(False) self.doubleSpinBox_ambient.valueChanged.connect(self.on_ambient_entry_changed) + # Pre-dial the Pot reset target at the same starting point btn_pot_ + # reset used to hardcode (ambient) - purely a one-off starting value + # for the user to optionally dial away from before clicking the + # button, so unlike the ambient spinbox it's never persisted/synced + # again afterwards. + if remembered_ambient is not None: + self.doubleSpinBox_pot_temp.setValue(remembered_ambient) self.btn_pot_reset.clicked.connect(self.on_action_pot_reset) # Only meaningful (and only shown) once the server confirms its Pot # is simulated - see on_system_changed()'s "PlantSim" handling.