Browse Source

REPORT-96204 根据pr建议优化代码

feature/x
obo 1 year ago
parent
commit
303448d148
  1. 1
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java

1
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())) {

Loading…
Cancel
Save