Disable router menu when the tool is stopped
This commit is contained in:
parent
72cae92320
commit
d3edc4f843
|
@ -778,6 +778,7 @@ int ROUTER_TOOL::mainLoop( PNS::ROUTER_MODE aMode )
|
||||||
}
|
}
|
||||||
|
|
||||||
frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString );
|
frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString );
|
||||||
|
SetContextMenu( nullptr );
|
||||||
|
|
||||||
// Store routing settings till the next invocation
|
// Store routing settings till the next invocation
|
||||||
m_savedSettings = m_router->Settings();
|
m_savedSettings = m_router->Settings();
|
||||||
|
|
Loading…
Reference in New Issue