diff --git a/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java b/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java index 57a0e04af4..de07a7814d 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java +++ b/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java @@ -287,7 +287,6 @@ public class GisLayerPane extends JPanel implements UIObserver { gisButton.setSelectedIndex(1); String layerName = layer.getLayerName(); if (layer.getGisLayerType() == GISLayerType.LAYER_NULL) { - layer.setGisLayerType(GISLayerType.LAYER_NULL); standardLayers.setSelectedIndex(standardLayers.getItemCount() - 1); } else { if(Locale.CHINA.equals(GeneralContext.getLocale())) {