Browse Source

Merge pull request #1968 in DESIGN/design from release/10.0 to bugfix/10.0

* commit '1a8c25a3ed01430948a5b3a7ff7bf8b51496efe3':
  REPORT-30708 单元格配置框不跟随右侧配置按钮 npe问题修改
bugfix/10.0
superman 4 years ago
parent
commit
dc47f90890
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

4
designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

@ -1019,9 +1019,9 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
* @date: 2020/7/30 11:39 * @date: 2020/7/30 11:39
*/ */
public void freshCurrentPopupPane() { public void freshCurrentPopupPane() {
if(currentPopupPane.isVisible()){ if (currentPopupPane != null && currentPopupPane.isVisible()) {
hideCurrentPopupPane(); hideCurrentPopupPane();
if (currentPopupPane != null && currentButton != null && !isRightPaneVisible()) { if (currentButton != null && !isRightPaneVisible()) {
GUICoreUtils.showPopupMenu(currentPopupPane, currentButton, -currentPopupPane.getPreferredSize().width, 0); GUICoreUtils.showPopupMenu(currentPopupPane, currentButton, -currentPopupPane.getPreferredSize().width, 0);
} }
} }

Loading…
Cancel
Save