Diff of /src/lib/simulator/src/electronics/components/ecbjt.cpp [9e3b00] .. [812dd5]  Maximize  Restore

  Switch to side-by-side view

--- a/src/lib/simulator/src/electronics/components/ecbjt.cpp
+++ b/src/lib/simulator/src/electronics/components/ecbjt.cpp
@@ -73,11 +73,11 @@
     Q_UNUSED(oldValue);
 
     BJTSettings s;
-    s.I_S = property("I_S").asDouble();
-    s.N_F = property("N_F").asDouble();
-    s.N_R = property("N_R").asDouble();
-    s.B_F = property("B_F").asDouble();
-    s.B_R = property("B_R").asDouble();
+    s.I_S = property("I_S").toDouble();
+    s.N_F = property("N_F").toDouble();
+    s.N_R = property("N_R").toDouble();
+    s.B_F = property("B_F").toDouble();
+    s.B_R = property("B_R").toDouble();
 
     m_pBJT.setBJTSettings(s);
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks