Browse Source

REPORT-13528 最新的jar,图片超链不能取到组件

bugfix/10.0
Hades 6 years ago
parent
commit
82517ab743
  1. 8
      designer-chart/src/main/java/com/fr/design/chart/series/SeriesCondition/impl/FormHyperlinkNorthPane.java

8
designer-chart/src/main/java/com/fr/design/chart/series/SeriesCondition/impl/FormHyperlinkNorthPane.java

@ -110,12 +110,14 @@ public class FormHyperlinkNorthPane extends BasicBeanPane<FormHyperlinkProvider>
} }
String editorName = formHyperlink.getRelateEditorName(); String editorName = formHyperlink.getRelateEditorName();
//防止初始的时候有空白选项 //防止初始的时候有空白选项
if (editorName == null) { String[] formHyperlinkEditNames = getFormHyperlinkEditNames();
return; if (editorName == null && formHyperlinkEditNames.length > 0) {
editorName = formHyperlinkEditNames[0];
formHyperlink.setRelateEditorName(editorName);
} }
if (targetFrameComboBox != null) { if (targetFrameComboBox != null) {
//noinspection unchecked //noinspection unchecked
targetFrameComboBox.setModel(new DefaultComboBoxModel(getFormHyperlinkEditNames())); targetFrameComboBox.setModel(new DefaultComboBoxModel(formHyperlinkEditNames));
targetFrameComboBox.setSelectedItem(editorName); targetFrameComboBox.setSelectedItem(editorName);
} }
} }

Loading…
Cancel
Save