The setpoint values was never stored in the deviceinfo object.

Signed-off-by: Anton Lundin <[email protected]>
---
 configuredivecomputerthreads.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 7958d04..04954ad 100644
--- a/configuredivecomputerthreads.cpp
+++ b/configuredivecomputerthreads.cpp
@@ -237,6 +237,11 @@ void ReadSettingsThread::run()
                                sp5.depth = dilData[1];
                        }
 
+                       m_deviceDetails->setSp1(sp1);
+                       m_deviceDetails->setSp2(sp2);
+                       m_deviceDetails->setSp3(sp3);
+                       m_deviceDetails->setSp4(sp4);
+                       m_deviceDetails->setSp5(sp5);
 
                        //Read other settings
                        unsigned char uData[1] = {0};
-- 
1.9.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to