Revert "GUI: stop pre-dialing the Pot reset spinbox to ambient temperature"

This reverts commit 9373cc408a.
This commit is contained in:
2026-06-23 22:28:37 +02:00
parent 9373cc408a
commit d8e9c39fda
+7
View File
@@ -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.