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
|
// 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() )
|
||||||
|
|
Loading…
Reference in New Issue