pcbnew: DIALOG_PRINT_PCBNEW: activate right click context menu inside layer list.

This commit is contained in:
jean-pierre charras 2022-03-18 20:47:09 +01:00
parent 3b6e8464c2
commit 6bf47e44e4
1 changed files with 6 additions and 0 deletions

View File

@ -297,6 +297,12 @@ void DIALOG_PRINT_PCBNEW::createLeftPanel()
{
this->PopupMenu( m_popMenu, aEvent.GetPosition() );
} );
m_layerCheckListBox->Bind( wxEVT_RIGHT_DOWN,
[&]( wxMouseEvent& aEvent )
{
this->PopupMenu( m_popMenu, aEvent.GetPosition() );
} );
}