Allow empty value field if simulation is disabled

This commit is contained in:
ferdymercury 2020-08-22 17:11:21 +00:00 committed by Jon Evans
parent d0e43ab9f1
commit b0af66afc7
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ bool DIALOG_SPICE_MODEL::TransferDataFromWindow()
// Passive // Passive
if( page == m_passive ) if( page == m_passive )
{ {
if( !m_passive->Validate() ) if( !m_passive->Validate() && !m_disabled->GetValue() )
return false; return false;
switch( m_pasType->GetSelection() ) switch( m_pasType->GetSelection() )