Fixed bug: Click on overlay transparency row closed the settings screen.

This commit is contained in:
GaidamakUA 2016-03-17 14:35:28 +02:00
parent 4ab88abcf1
commit fef8f7f3d2

View file

@ -131,6 +131,7 @@ public class RasterMapMenu {
.layout(R.layout.progress_list_item) .layout(R.layout.progress_list_item)
.iconColor(R.drawable.ic_action_opacity) .iconColor(R.drawable.ic_action_opacity)
.progress(mapTransparencyPreference.get()) .progress(mapTransparencyPreference.get())
.listen(l)
.listenInteger(integerListener).reg(); .listenInteger(integerListener).reg();
if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY) { if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY) {
contextMenuAdapter.item(R.string.show_polygons).listen(l) contextMenuAdapter.item(R.string.show_polygons).listen(l)