kopia lustrzana https://github.com/JOSM/MapWithAI
Fix an issue where multiple layers wouldn't allow a download
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head v0.2.5
rodzic
0da81b669e
commit
c71e373573
|
@ -70,7 +70,7 @@ public class MapWithAIAction extends JosmAction {
|
|||
if (osmLayers.size() == 1) {
|
||||
returnLayer = osmLayers.get(0);
|
||||
} else if (!osmLayers.isEmpty()) {
|
||||
AbstractMergeAction.askTargetLayer(osmLayers.toArray(new OsmDataLayer[0]),
|
||||
returnLayer = AbstractMergeAction.askTargetLayer(osmLayers.toArray(new OsmDataLayer[0]),
|
||||
tr("Please select the target layer"), tr("Select target layer"), tr("OK"), "download");
|
||||
}
|
||||
return returnLayer;
|
||||
|
|
Ładowanie…
Reference in New Issue