PCB Search Pane: show Board Setup / Net Classes on net activation
(cherry picked from commit bc8f81b14d
)
This commit is contained in:
parent
a5470029a8
commit
ef8e549d86
|
@ -359,3 +359,9 @@ void NETS_SEARCH_HANDLER::SelectItems( std::vector<long>& aItemRows )
|
|||
m_frame->GetCanvas()->GetView()->UpdateAllLayersColor();
|
||||
m_frame->GetCanvas()->Refresh();
|
||||
}
|
||||
|
||||
|
||||
void NETS_SEARCH_HANDLER::ActivateItem( long aItemRow )
|
||||
{
|
||||
m_frame->ShowBoardSetupDialog( _( "Net Classes" ) );
|
||||
}
|
||||
|
|
|
@ -93,6 +93,7 @@ public:
|
|||
int Search( const wxString& aQuery ) override;
|
||||
wxString GetResultCell( int aRow, int aCol ) override;
|
||||
void SelectItems( std::vector<long>& aItemRows ) override;
|
||||
void ActivateItem( long aItemRow ) override;
|
||||
|
||||
private:
|
||||
std::vector<NETINFO_ITEM*> m_hitlist;
|
||||
|
|
Loading…
Reference in New Issue