From bba29a1036ef2880ae5003b8351bc36ba6ff7ce1 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Fri, 25 Sep 2020 00:17:54 +0100 Subject: [PATCH] Always show the track and via menu in the router context menu --- pcbnew/router/router_tool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 0260175963..63e27f3736 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -435,12 +435,12 @@ bool ROUTER_TOOL::Init() return m_router->Mode() == PNS::PNS_MODE_ROUTE_DIFF_PAIR; }; - menu.AddMenu( trackViaMenu.get(), SELECTION_CONDITIONS::NotEmpty ); - menu.AddMenu( diffPairMenu.get(), diffPairCond ); + menu.AddMenu( trackViaMenu.get(), SELECTION_CONDITIONS::ShowAlways ); + menu.AddMenu( diffPairMenu.get(), diffPairCond ); menu.AddItem( PCB_ACTIONS::routerSettingsDialog, SELECTION_CONDITIONS::ShowAlways ); - menu.AddSeparator( 1 ); + menu.AddSeparator(); frame->AddStandardSubMenus( m_menu );