Disable router menu when the tool is stopped

This commit is contained in:
Maciej Suminski 2017-02-24 12:53:37 +01:00
parent 72cae92320
commit d3edc4f843
1 changed files with 1 additions and 0 deletions

View File

@ -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();