diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2016-03-18 14:18:54 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:56:57 +0300 |
commit | 7217cbfdb4053d1f06c2b45c7074ba50a884a055 (patch) | |
tree | 93daa54298df85b453d968d6fdb4186a61460c00 | |
parent | 5282882c06dcf592f0e171daa9a529b067134d44 (diff) |
Routing switched to OnRoute on following.
-rw-r--r-- | routing/routing_session.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routing/routing_session.cpp b/routing/routing_session.cpp index d701b1d2e0..d8daecaf8e 100644 --- a/routing/routing_session.cpp +++ b/routing/routing_session.cpp @@ -419,7 +419,10 @@ bool RoutingSession::DisableFollowMode() bool RoutingSession::EnableFollowMode() { if (m_state == RouteNotStarted || m_state == OnRoute) + { + m_state = OnRoute; m_isFollowing = true; + } return m_isFollowing; } |