Browse Source

去掉多余的判断

master
vito 9 years ago
parent
commit
3fd1072b47
  1. 2
      designer_form/src/com/fr/design/mainframe/WidgetPropertyPane.java

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

@ -101,12 +101,10 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetProper
propertyTable.initPropertyGroups(null); propertyTable.initPropertyGroups(null);
eventTable.refresh(); eventTable.refresh();
if (widgetPropertyTables.size() > 0) {
for (AbstractPropertyTable propertyTable : widgetPropertyTables) { for (AbstractPropertyTable propertyTable : widgetPropertyTables) {
propertyTable.initPropertyGroups(designer); propertyTable.initPropertyGroups(designer);
} }
} }
}
public void setEditingFormDesigner(BaseFormDesigner editor) { public void setEditingFormDesigner(BaseFormDesigner editor) {
FormDesigner fd = (FormDesigner) editor; FormDesigner fd = (FormDesigner) editor;

Loading…
Cancel
Save