xiaoxia 8 years ago
parent
commit
099e4e496b
  1. 5
      designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

5
designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -252,15 +252,16 @@ public class FormWidgetDetailPane extends FormDockView{
deleteButton.addActionListener(new ActionListener() { deleteButton.addActionListener(new ActionListener() {
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
if(ShareLoader.getLoader().removeModulesFromMap()) { if(ShareLoader.getLoader().removeModulesFromList()) {
ShareLoader.getLoader().removeModulesFromMap();
refreshShareMoudule(); refreshShareMoudule();
reuWidgetPanel.remove(deleteButton); reuWidgetPanel.remove(deleteButton);
elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList(); elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList();
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Successful")); JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Successful"));
refreshDownPanel(false); refreshDownPanel(false);
} else { } else {
reuWidgetPanel.remove(deleteButton);
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Failed")); JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Failed"));
refreshDownPanel(false);
} }
} }

Loading…
Cancel
Save