fix
This commit is contained in:
parent
abd665684d
commit
572f1ff656
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue