mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 17:23:44 +00:00
Fix disabled layer error text
This commit is contained in:
parent
62f7a09290
commit
814b6b8e86
@ -181,7 +181,7 @@ void DRC_TEST_PROVIDER_MISC::testDisabledLayers()
|
||||
{
|
||||
std::shared_ptr<DRC_ITEM>drcItem = DRC_ITEM::Create( DRCE_DISABLED_LAYER_ITEM );
|
||||
|
||||
m_msg.Printf( _( "(layer %s)" ), badLayer );
|
||||
m_msg.Printf( _( "(layer %s)" ), LayerName( badLayer ) );
|
||||
|
||||
drcItem->SetErrorMessage( drcItem->GetErrorText() + wxS( " " ) + m_msg );
|
||||
drcItem->SetItems( item );
|
||||
|
Loading…
Reference in New Issue
Block a user