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

  Switch to side-by-side view

--- a/src/lib/simulator/src/electronics/components/inductor.cpp
+++ b/src/lib/simulator/src/electronics/components/inductor.cpp
@@ -54,7 +54,7 @@
         return;
     }
     Q_UNUSED(oldValue);
-    double inductance = newValue.asDouble();
+    double inductance = newValue.toDouble();
     m_pInductance->setInductance(inductance);
     // reset the charge on the capacitance
     m_pInductance->add_initial_dc();