forked from organicmaps/organicmaps
Misprint fixed.
This commit is contained in:
parent
701a91ed42
commit
ee46cac827
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -3066,7 +3066,7 @@ bool Framework::LoadIsolinesEnabled()
|
|||
return enabled;
|
||||
}
|
||||
|
||||
void Framework::SaveIsolonesEnabled(bool enabled)
|
||||
void Framework::SaveIsolinesEnabled(bool enabled)
|
||||
{
|
||||
settings::Set(kIsolinesEnabledKey, enabled);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue