Browse Source

Pull request #1958: REPORT-30708 单元格配置框不跟随右侧配置按钮 npe问题修改

Merge in DESIGN/design from ~HENRY.WANG/design:release/10.0 to release/10.0

* commit 'aba5f269c9b7cd1bc8dff8def89f0670b8fbcc90':
  REPORT-30708 单元格配置框不跟随右侧配置按钮 npe问题修改
feature/big-screen
Henry.Wang 4 years ago
parent
commit
e4e801e279
  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