From 7d587f3bc0f960aab5b040f53435f055846d530d Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 24 Jun 2018 08:31:51 -0700 Subject: [PATCH] fixes Issue #221 allows a negative ambient temperature in roast properties --- src/artisanlib/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artisanlib/main.py b/src/artisanlib/main.py index e2d766d58..cbc36a4e2 100644 --- a/src/artisanlib/main.py +++ b/src/artisanlib/main.py @@ -27326,7 +27326,7 @@ def __init__(self, parent = None): self.ambientedit = QLineEdit() self.ambientedit.setText(str(aw.qmc.ambientTemp)) self.ambientedit.setMaximumWidth(50) - self.ambientedit.setValidator(QDoubleValidator(0., 200., 2, self.ambientedit)) + self.ambientedit.setValidator(QDoubleValidator(-40., 200., 2, self.ambientedit)) self.ambientedit.setAlignment(Qt.AlignRight) self.ambientedit_tempUnitsComboBox = QComboBox() self.ambientedit_tempUnitsComboBox.setMaximumWidth(60)