Browse Source

REPORT-3163 合作开发9.0设计器=>修正一处错误

master
plough 7 years ago
parent
commit
5d4fc485b9
  1. 2
      designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

2
designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

@ -728,7 +728,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
return;
}
// validate
if (!buttonType.equals(UP_BUTTON) || !buttonType.equals(DOWN_BUTTON)) {
if (!buttonType.equals(UP_BUTTON) && !buttonType.equals(DOWN_BUTTON)) {
throw new IllegalArgumentException("unknown button type: " + buttonType);
}
addMouseMotionListener(mouseMotionListener);

Loading…
Cancel
Save