Revert "GUI: stop pre-dialing the Pot reset spinbox to ambient temperature"
This reverts commit 9373cc408a.
This commit is contained in:
@@ -375,6 +375,13 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||||||
self.doubleSpinBox_ambient.setValue(remembered_ambient)
|
self.doubleSpinBox_ambient.setValue(remembered_ambient)
|
||||||
self.doubleSpinBox_ambient.blockSignals(False)
|
self.doubleSpinBox_ambient.blockSignals(False)
|
||||||
self.doubleSpinBox_ambient.valueChanged.connect(self.on_ambient_entry_changed)
|
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)
|
self.btn_pot_reset.clicked.connect(self.on_action_pot_reset)
|
||||||
# Only meaningful (and only shown) once the server confirms its Pot
|
# Only meaningful (and only shown) once the server confirms its Pot
|
||||||
# is simulated - see on_system_changed()'s "PlantSim" handling.
|
# is simulated - see on_system_changed()'s "PlantSim" handling.
|
||||||
|
|||||||
Reference in New Issue
Block a user