diff --git a/eeschema/sim/sim_property.cpp b/eeschema/sim/sim_property.cpp index ab902c386b..b5b227d747 100644 --- a/eeschema/sim/sim_property.cpp +++ b/eeschema/sim/sim_property.cpp @@ -185,7 +185,7 @@ bool SIM_STRING_PROPERTY::StringToValue( wxVariant& aVariant, const wxString& aT wxString text = aText; - if( allowEval() && m_needsEval && m_eval.Process( aText ) ) + if( !aText.IsEmpty() && allowEval() && m_needsEval && m_eval.Process( aText ) ) { double value = SIM_VALUE::ToDouble( m_eval.Result().ToStdString() );