Browse Source

无JIRA任务 还原一也是无JIRA任务的改动

research/11.0
方磊 3 years ago
parent
commit
32e6708bc3
  1. 8
      designer-form/src/main/java/com/fr/design/widget/ui/designer/NewFormPane.java

8
designer-form/src/main/java/com/fr/design/widget/ui/designer/NewFormPane.java

@ -151,9 +151,9 @@ public class NewFormPane extends BasicPane {
private JPanel createNewTemplatePane() {
EmptyLayoutPane jPanel = new EmptyLayoutPane();
jPanel.addMouseListener(new MouseAdapter() {
jPanel.addClickListener(new MouseAdapter() {
@Override
public void mousePressed(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
setSelectedLayoutPane(jPanel);
dialog.setButtonEnabled(true);
}
@ -238,9 +238,9 @@ public class NewFormPane extends BasicPane {
layoutPaneMap.put(moduleName, module);
for (PredefinedLayout layout : layouts) {
PredefinedLayoutPane predefinedLayoutPane = new PredefinedLayoutPane(layout);
predefinedLayoutPane.addMouseListener(new MouseAdapter() {
predefinedLayoutPane.addClickListener(new MouseAdapter() {
@Override
public void mousePressed(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
setSelectedLayoutPane(predefinedLayoutPane);
dialog.setButtonEnabled(true);
}

Loading…
Cancel
Save