Allow empty value field if simulation is disabled
This commit is contained in:
parent
d0e43ab9f1
commit
b0af66afc7
|
@ -201,7 +201,7 @@ bool DIALOG_SPICE_MODEL::TransferDataFromWindow()
|
|||
// Passive
|
||||
if( page == m_passive )
|
||||
{
|
||||
if( !m_passive->Validate() )
|
||||
if( !m_passive->Validate() && !m_disabled->GetValue() )
|
||||
return false;
|
||||
|
||||
switch( m_pasType->GetSelection() )
|
||||
|
|
Loading…
Reference in New Issue