fix another old bug in TestVoicePrompt language pre-selector

This commit is contained in:
sonora 2016-07-06 10:58:37 +02:00
parent 450133314e
commit cbf2f4378a

View file

@ -100,7 +100,7 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
for (String s : voiceFiles) {
entries[k] = s;
entrieValues[k] = s;
if(s.equals(((OsmandApplication) getApplication()).getSettings().VOICE_PROVIDER)) {
if(s.equals(((OsmandApplication) getApplication()).getSettings().VOICE_PROVIDER.get())) {
selected = k;
}
k++;