Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
Diffstat (limited to 'qt')
-rw-r--r--qt/search_panel.cpp2
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;