addsensordlg.py: fix a typo.
When choosing an SH preset, preset value 6 was assigned to both parameter 6 and parameter 7. This was mentioned in issue #155.
This commit is contained in:
parent
4597fd0c51
commit
972e0cbb3d
|
|
@ -666,7 +666,7 @@ class AddSensorDlg(wx.Dialog):
|
||||||
if len(thermistorPresets[label]) == 7:
|
if len(thermistorPresets[label]) == 7:
|
||||||
self.param4.SetValue(thermistorPresets[label][4])
|
self.param4.SetValue(thermistorPresets[label][4])
|
||||||
self.param5.SetValue(thermistorPresets[label][5])
|
self.param5.SetValue(thermistorPresets[label][5])
|
||||||
self.param6.SetValue(thermistorPresets[label][5])
|
self.param6.SetValue(thermistorPresets[label][6])
|
||||||
self.currentMethod = METHOD_SH
|
self.currentMethod = METHOD_SH
|
||||||
else:
|
else:
|
||||||
self.currentMethod = METHOD_BETA
|
self.currentMethod = METHOD_BETA
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue