Fix map layer

This commit is contained in:
Victor Shcherb 2012-08-31 01:19:08 +02:00
parent ec638e691d
commit 5f6d2d675e

View file

@ -604,7 +604,7 @@ public class MapInfoLayer extends OsmandMapLayer {
mapInfoControls.changeVisibility(mi);
}
recreateControls();
} else if(o.toString().equals(map.getString(R.string.map_widget_reset))) {
} else if(which == 0) {
mapInfoControls.resetToDefault();
recreateControls();
}