router: fix segfault on route-undo-route

This commit is contained in:
Tomasz Wlostowski 2014-06-01 18:44:38 +02:00 committed by Maciej Sumiński
parent 218cb8e7c1
commit a90680aa15
1 changed files with 1 additions and 0 deletions

View File

@ -659,6 +659,7 @@ int ROUTER_TOOL::Main( TOOL_EVENT& aEvent )
if( m_needsSync )
{
m_router->SyncWorld();
m_router->SetView( getView() );
m_needsSync = false;
}