Browse Source

Fix another build warning introduced by recent ERC changes.

7.0
Wayne Stambaugh 3 years ago
parent
commit
a83313c4ab
  1. 7
      eeschema/dialogs/dialog_erc.cpp

7
eeschema/dialogs/dialog_erc.cpp

@ -3,7 +3,7 @@
*
* Copyright (C) 2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2012 Wayne Stambaugh <stambaughw@gmail.com>
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2023 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -298,7 +298,8 @@ void DIALOG_ERC::OnDeleteAllClick( wxCommandEvent& event )
{
wxMessageDialog dlg( this, _( "Delete exclusions too?" ), _( "Delete All Markers" ),
wxYES_NO | wxCANCEL | wxCENTER | wxICON_QUESTION );
dlg.SetYesNoLabels( _( "Errors and Warnings Only" ) , _( "Errors, Warnings and Exclusions" ) );
dlg.SetYesNoLabels( _( "Errors and Warnings Only" ),
_( "Errors, Warnings and Exclusions" ) );
int ret = dlg.ShowModal();
@ -603,6 +604,8 @@ void DIALOG_ERC::OnERCItemSelected( wxDataViewEvent& aEvent )
if( ercItem->AuxItemHasSheetPath() )
sheet = ercItem->GetAuxItemSheetPath();
break;
default:
break;
}
}

Loading…
Cancel
Save