Misprint fixed.

This commit is contained in:
Daria Volvenkova 2020-05-29 01:07:58 +03:00 committed by Anatoliy V. Tomilov
parent 701a91ed42
commit ee46cac827
5 changed files with 5 additions and 5 deletions

View file

@ -1788,7 +1788,7 @@ Java_com_mapswithme_maps_Framework_nativeSetIsolinesLayerEnabled(JNIEnv * env, j
{
auto const isolinesEnabled = static_cast<bool>(enabled);
frm()->GetIsolinesManager().SetEnabled(isolinesEnabled);
frm()->SaveIsolonesEnabled(isolinesEnabled);
frm()->SaveIsolinesEnabled(isolinesEnabled);
}
JNIEXPORT jboolean JNICALL

View file

@ -191,7 +191,7 @@ static NSString *kGuidesWasShown = @"guidesWasShown";
auto &f = GetFramework();
f.GetIsolinesManager().SetEnabled(enable);
f.SaveIsolonesEnabled(enable);
f.SaveIsolinesEnabled(enable);
}
+ (void)setGuidesEnabled:(BOOL)enable {

View file

@ -3066,7 +3066,7 @@ bool Framework::LoadIsolinesEnabled()
return enabled;
}
void Framework::SaveIsolonesEnabled(bool enabled)
void Framework::SaveIsolinesEnabled(bool enabled)
{
settings::Set(kIsolinesEnabledKey, enabled);
}

View file

@ -786,7 +786,7 @@ public:
void SaveTransitSchemeEnabled(bool enabled);
bool LoadIsolinesEnabled();
void SaveIsolonesEnabled(bool enabled);
void SaveIsolinesEnabled(bool enabled);
bool LoadGuidesEnabled();
void SaveGuidesEnabled(bool enabled);

View file

@ -1003,7 +1003,7 @@ void MainWindow::SetEnabledIsolines(bool enable)
{
m_selectLayerIsolinesAction->setChecked(enable);
m_pDrawWidget->GetFramework().GetIsolinesManager().SetEnabled(enable);
m_pDrawWidget->GetFramework().SaveIsolonesEnabled(enable);
m_pDrawWidget->GetFramework().SaveIsolinesEnabled(enable);
}
void MainWindow::OnTrafficEnabled()