Browse Source

无JIRA任务 NPE

master
zack 8 years ago
parent
commit
d92bc18108
  1. 2
      designer_form/src/com/fr/design/mainframe/CoverReportPane.java

2
designer_form/src/com/fr/design/mainframe/CoverReportPane.java

@ -62,6 +62,7 @@ public class CoverReportPane extends JPanel {
editButton.setBackground(new Color(176, 196, 222)); editButton.setBackground(new Color(176, 196, 222));
add(editButton); add(editButton);
add(controlButton); add(controlButton);
if (WidgetPropertyPane.getInstance().getEditingFormDesigner() != null) {
WidgetPropertyPane.getInstance().getEditingFormDesigner().addDesignerEditListener(new DesignerEditListener() { WidgetPropertyPane.getInstance().getEditingFormDesigner().addDesignerEditListener(new DesignerEditListener() {
@Override @Override
public void fireCreatorModified(DesignerEvent evt) { public void fireCreatorModified(DesignerEvent evt) {
@ -72,6 +73,7 @@ public class CoverReportPane extends JPanel {
} }
}); });
} }
}
public String getHelpMsg() { public String getHelpMsg() {
return helpMsg; return helpMsg;

Loading…
Cancel
Save