Browse Source

REPORT-4421 以下参数未生成问题=>修复空指针错误=>调整代码

master
plough 7 years ago
parent
commit
bc8c97f462
  1. 2
      designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java

2
designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java

@ -95,7 +95,7 @@ public class ParameterPropertyPane extends JPanel{
hideInJForm = DesignerContext.getDesignerFrame().getSelectedJTemplate() instanceof JForm && hideInJForm = DesignerContext.getDesignerFrame().getSelectedJTemplate() instanceof JForm &&
!(FormHierarchyTreePane.getInstance().getComponentTree().getSelectionPath().getLastPathComponent() instanceof XWParameterLayout); !(FormHierarchyTreePane.getInstance().getComponentTree().getSelectionPath().getLastPathComponent() instanceof XWParameterLayout);
} catch (NullPointerException ex) { } catch (NullPointerException ex) {
hideInJForm = false; hideInJForm = true;
} }
if (isVisible && toolbarPane.hasSelectedLabelItem() && !hideInJForm) { if (isVisible && toolbarPane.hasSelectedLabelItem() && !hideInJForm) {
addParaPane.setVisible(true); addParaPane.setVisible(true);

Loading…
Cancel
Save