Fix bug with layer selection

This commit is contained in:
Victor Shcherb 2012-04-20 09:23:47 +02:00
parent d43b31f28f
commit 4be2bf814f

View file

@ -559,7 +559,7 @@ public class MapInfoLayer extends OsmandMapLayer {
progressBar.setOnClickListener(new View.OnClickListener() { progressBar.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
map.backToLocationImpl(); map.getMapLayers().selectMapLayer(view);
} }
}); });
fl.addView(progressBar, fparams); fl.addView(progressBar, fparams);