From d3edc4f84356e6ec6a87497fe0d38ed9ec66c5a6 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 24 Feb 2017 12:53:37 +0100 Subject: [PATCH] Disable router menu when the tool is stopped --- pcbnew/router/router_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 024e12e86b..8f79cd0b1f 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -778,6 +778,7 @@ int ROUTER_TOOL::mainLoop( PNS::ROUTER_MODE aMode ) } frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString ); + SetContextMenu( nullptr ); // Store routing settings till the next invocation m_savedSettings = m_router->Settings();