Browse Source

Pull request #5980: 无JIRA任务 还原一也是无JIRA任务的改动

Merge in DESIGN/design from ~FANGLEI/design10.0:feature/x to feature/x

* commit '32e6708bc3f6175435f530ead0fbe5b312567ec2':
  无JIRA任务 还原一也是无JIRA任务的改动
research/11.0
fanglei 3 years ago
parent
commit
c5df6da3fb
  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