Fix typo in conditional check

Fixes: lp:1755265
* https://bugs.launchpad.net/kicad/+bug/1755265
This commit is contained in:
Jon Evans 2018-03-12 22:15:21 -04:00
parent f32f14dc8f
commit 935a5cada8
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
else if( page == m_pgDC )
{
// At least one source has to be enabled
if( !m_dcEnable1->IsChecked() && !m_dcEnable1->IsChecked() )
if( !m_dcEnable1->IsChecked() && !m_dcEnable2->IsChecked() )
{
DisplayError( this, wxT( "You need to enable at least one source" ) );
return false;