Always show the track and via menu in the router context menu

This commit is contained in:
Ian McInerney 2020-09-25 00:17:54 +01:00
parent 9937f52f06
commit bba29a1036
1 changed files with 3 additions and 3 deletions

View File

@ -435,12 +435,12 @@ bool ROUTER_TOOL::Init()
return m_router->Mode() == PNS::PNS_MODE_ROUTE_DIFF_PAIR; return m_router->Mode() == PNS::PNS_MODE_ROUTE_DIFF_PAIR;
}; };
menu.AddMenu( trackViaMenu.get(), SELECTION_CONDITIONS::NotEmpty ); menu.AddMenu( trackViaMenu.get(), SELECTION_CONDITIONS::ShowAlways );
menu.AddMenu( diffPairMenu.get(), diffPairCond ); menu.AddMenu( diffPairMenu.get(), diffPairCond );
menu.AddItem( PCB_ACTIONS::routerSettingsDialog, SELECTION_CONDITIONS::ShowAlways ); menu.AddItem( PCB_ACTIONS::routerSettingsDialog, SELECTION_CONDITIONS::ShowAlways );
menu.AddSeparator( 1 ); menu.AddSeparator();
frame->AddStandardSubMenus( m_menu ); frame->AddStandardSubMenus( m_menu );