Eeschema, hierarchy navigator: right click on an item must select the corresponding
sheet, not the currently opened sheet. From master branch Fixes #16670 https://gitlab.com/kicad/code/kicad/-/issues/16670
This commit is contained in:
parent
9738a71922
commit
13fcb571f7
|
@ -257,7 +257,7 @@ void HIERARCHY_PANE::onSelectSheetPath( wxTreeEvent& aEvent )
|
|||
|
||||
void HIERARCHY_PANE::onRightClick( wxTreeEvent& aEvent )
|
||||
{
|
||||
wxTreeItemId itemSel = m_tree->GetFocusedItem();
|
||||
wxTreeItemId itemSel = aEvent.GetItem();
|
||||
|
||||
if( !itemSel.IsOk() )
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue