This commit is contained in:
sonora 2012-10-05 21:52:53 +02:00
parent abd665684d
commit 572f1ff656

View file

@ -287,8 +287,7 @@ public class MapInfoLayer extends OsmandMapLayer {
final String[] items = rendererNames.toArray(new String[rendererNames.size()]);
int i = -1;
for(int j = 0; j< items.length; j++) {
//if(items[j].equals(app.getRendererRegistry().getCurrentSelectedRenderer().getName())) {
if(items[j].equals(app.getRendererRegistry().getCurrentSelectedRenderer())) {
if(items[j].equals(app.getRendererRegistry().getCurrentSelectedRenderer().getName())) {
i = j;
break;
}