DIALOG_SIM_SETTINGS: fix incorrect validation of DC souces in DC Transfer panel
From Master branch Fixes #10568 https://gitlab.com/kicad/code/kicad/issues/10568
This commit is contained in:
parent
60ae18893e
commit
029e42f8d1
|
@ -212,7 +212,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
|||
else
|
||||
simCmd += " " + src2;
|
||||
|
||||
if( m_dcSource1->GetSelection() == m_dcSource2->GetSelection() )
|
||||
if( m_dcSource1->GetStringSelection() == m_dcSource2->GetStringSelection() )
|
||||
{
|
||||
DisplayError( this, _( "Source 1 and Source 2 must be different" ) );
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue