diff --git a/qt/routing_settings_dialog.cpp b/qt/routing_settings_dialog.cpp index 6a780f04a6..90265b6f7a 100644 --- a/qt/routing_settings_dialog.cpp +++ b/qt/routing_settings_dialog.cpp @@ -32,8 +32,10 @@ std::string const RoutingSettings::kRouterTypeCachedSettings = "router_type_desk bool RoutingSettings::TurnsEnabled() { bool enabled = false; - settings::Get(kShowTurnsSettings, enabled); - return enabled; + if (settings::Get(kShowTurnsSettings, enabled)) + return enable; + + return false; } // static