- fixed first bad initialization of the day/night menu when renderer is not yet defined

git-svn-id: https://osmand.googlecode.com/svn/trunk@860 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
pavol.zibrita 2010-12-26 20:53:16 +00:00
parent c510fb5636
commit 89730c9579

View file

@ -323,7 +323,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
} else {
rendererPreference.setValueIndex(0);
}
updateDayNightAccess(vectorRenderer);
updateDayNightAccess(rendererPreference.getValue());
int startZoom = 12;
int endZoom = 19;