newLayer.setName("Merged Layer");
map.addTileset(tmh.getSet());
editor.setCurrentLayer(0);
} else if (ret == JOptionPane.NO_OPTION) {
while (map.getTotalLayers() > 1) {
map.mergeLayerDown(editor.getCurrentLayerIndex());
}
editor.setCurrentLayer(0);
}
}
}