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 );
|
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->SetErrorMessage( drcItem->GetErrorText() + wxS( " " ) + m_msg );
|
||||||
drcItem->SetItems( item );
|
drcItem->SetItems( item );
|
||||||
|
|
Loading…
Reference in New Issue