Fix typo in conditional check
Fixes: lp:1755265 * https://bugs.launchpad.net/kicad/+bug/1755265
This commit is contained in:
parent
f32f14dc8f
commit
935a5cada8
|
@ -94,7 +94,7 @@ bool DIALOG_SIM_SETTINGS::TransferDataFromWindow()
|
||||||
else if( page == m_pgDC )
|
else if( page == m_pgDC )
|
||||||
{
|
{
|
||||||
// At least one source has to be enabled
|
// 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" ) );
|
DisplayError( this, wxT( "You need to enable at least one source" ) );
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue