PCB Search Pane: show Board Setup / Net Classes on net activation
This commit is contained in:
parent
12a5c2e037
commit
bc8f81b14d
|
@ -359,3 +359,9 @@ void NETS_SEARCH_HANDLER::SelectItems( std::vector<long>& aItemRows )
|
||||||
m_frame->GetCanvas()->GetView()->UpdateAllLayersColor();
|
m_frame->GetCanvas()->GetView()->UpdateAllLayersColor();
|
||||||
m_frame->GetCanvas()->Refresh();
|
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;
|
int Search( const wxString& aQuery ) override;
|
||||||
wxString GetResultCell( int aRow, int aCol ) override;
|
wxString GetResultCell( int aRow, int aCol ) override;
|
||||||
void SelectItems( std::vector<long>& aItemRows ) override;
|
void SelectItems( std::vector<long>& aItemRows ) override;
|
||||||
|
void ActivateItem( long aItemRow ) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<NETINFO_ITEM*> m_hitlist;
|
std::vector<NETINFO_ITEM*> m_hitlist;
|
||||||
|
|
Loading…
Reference in New Issue