pcbnew: DIALOG_PRINT_PCBNEW: activate right click context menu inside layer list.
This commit is contained in:
parent
3b6e8464c2
commit
6bf47e44e4
|
@ -297,6 +297,12 @@ void DIALOG_PRINT_PCBNEW::createLeftPanel()
|
||||||
{
|
{
|
||||||
this->PopupMenu( m_popMenu, aEvent.GetPosition() );
|
this->PopupMenu( m_popMenu, aEvent.GetPosition() );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
m_layerCheckListBox->Bind( wxEVT_RIGHT_DOWN,
|
||||||
|
[&]( wxMouseEvent& aEvent )
|
||||||
|
{
|
||||||
|
this->PopupMenu( m_popMenu, aEvent.GetPosition() );
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue