Browse Source

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

feature/big-screen
Henry.Wang 4 years ago
parent
commit
aba5f269c9
  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