Fix another build warning introduced by recent ERC changes.
This commit is contained in:
parent
769afa6fe6
commit
a83313c4ab
|
@ -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…
Reference in New Issue