Gerbview: fix regression: missing DCode highlight commands.

DCode selected by context menu or from toolbar is now highlighted.
This commit is contained in:
jean-pierre charras
2021-03-13 18:45:33 +01:00
parent 18470693fe
commit c1197903e4
9 changed files with 89 additions and 19 deletions
@@ -89,6 +89,14 @@ private:
apertDescr->m_AperFunction ) );
addSeparator = true;
}
if( apertDescr )
{
auto menuEntry = Add( GERBVIEW_ACTIONS::highlightDCode );
menuEntry->SetItemLabel( wxString::Format( _( "Highlight DCode D%d" ),
apertDescr->m_Num_Dcode ) );
addSeparator = true;
}
}
if( addSeparator )