diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index acd93e3..91299a4 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -792,7 +792,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): self.params[channel].child("PID Config", "Ki").setValue(settings["parameters"]["ki"]) self.params[channel].child("PID Config", "Kd").setValue(settings["parameters"]["kd"]) self.params[channel].child("Output Config", "Control Method", "Set Temperature").setValue(settings["target"]) - self.channel_graphs[channel].t_line.setValue(settings["target"]) + self.channel_graphs[channel].t_line.setValue(round(settings["target"], 6)) @pyqtSlot(list) def update_report(self, report_data):