diff options
Diffstat (limited to 'qt')
-rw-r--r-- | qt/search_panel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp index 52111c8573..d3633cadc7 100644 --- a/qt/search_panel.cpp +++ b/qt/search_panel.cpp @@ -140,6 +140,8 @@ bool SearchPanel::TryChangeRouterCmd(QString const & str) routerType = routing::RouterType::Vehicle; else if (str == "?bicycle") routerType = routing::RouterType::Bicycle; + else if (str == "?transit") + routerType = routing::RouterType::Transit; else return false; |