router: fix segfault on route-undo-route
This commit is contained in:
parent
218cb8e7c1
commit
a90680aa15
|
@ -659,6 +659,7 @@ int ROUTER_TOOL::Main( TOOL_EVENT& aEvent )
|
|||
if( m_needsSync )
|
||||
{
|
||||
m_router->SyncWorld();
|
||||
m_router->SetView( getView() );
|
||||
m_needsSync = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue