diff --git a/eeschema/dialogs/dialog_sim_command.h b/eeschema/dialogs/dialog_sim_command.h index be441ca579..d8ac2e3afb 100644 --- a/eeschema/dialogs/dialog_sim_command.h +++ b/eeschema/dialogs/dialog_sim_command.h @@ -71,9 +71,6 @@ public: if( !m_saveAllCurrents->GetValue() ) options &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS; - if( !m_saveAllDissipations->GetValue() ) - options &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS; - return options; } diff --git a/qa/unittests/eeschema/sim/test_sim_regressions.cpp b/qa/unittests/eeschema/sim/test_sim_regressions.cpp index 7b3352660a..6600cd98e1 100644 --- a/qa/unittests/eeschema/sim/test_sim_regressions.cpp +++ b/qa/unittests/eeschema/sim/test_sim_regressions.cpp @@ -75,16 +75,12 @@ public: if( m_SaveVoltages ) options |= NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES; - if( m_SavesDissipations ) - options |= NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS; - return options; } public: - bool m_SavesDissipations = false; - bool m_SaveVoltages = true; - bool m_SaveCurrents = true; + bool m_SaveVoltages = true; + bool m_SaveCurrents = true; }; diff --git a/qa/unittests/eeschema/test_netlist_exporter_spice.h b/qa/unittests/eeschema/test_netlist_exporter_spice.h index 85188fecaf..dcf4bbf8e1 100644 --- a/qa/unittests/eeschema/test_netlist_exporter_spice.h +++ b/qa/unittests/eeschema/test_netlist_exporter_spice.h @@ -271,7 +271,6 @@ public: { return NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES | NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS - | NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS | NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS | NETLIST_EXPORTER_SPICE::OPTION_SIM_COMMAND; }