Browse Source

初次populate时组件为null,增加空判断

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
f232fa8add
  1. 4
      designer-chart/src/main/java/com/fr/van/chart/map/VanChartMapSeriesPane.java

4
designer-chart/src/main/java/com/fr/van/chart/map/VanChartMapSeriesPane.java

@ -178,6 +178,10 @@ public class VanChartMapSeriesPane extends VanChartColorValueSeriesPane {
GUICoreUtils.setEnabled(pointEffectPane, !largeModel); GUICoreUtils.setEnabled(pointEffectPane, !largeModel);
} }
if (markerTypeCom == null) {
return;
}
VanChartMapPlot mapPlot = (VanChartMapPlot) plot; VanChartMapPlot mapPlot = (VanChartMapPlot) plot;
refreshMarkerComboboxModel(mapPlot); refreshMarkerComboboxModel(mapPlot);
if (largeModel) { if (largeModel) {

Loading…
Cancel
Save