diff --git a/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java b/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java index 0ae101996..cd5a03f65 100644 --- a/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java +++ b/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java @@ -589,7 +589,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { if (popupDialog != null && isPoppedOut) { popupDialog.replaceContentPane(this); } - if (popupPane != null && !isRightPaneVisible()) { + if (popupPane != null && popupPane.isVisible()) { popupPane.replaceContentPane(contentArea); } @@ -627,7 +627,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { if (isRightPaneVisible()) { hideCurrentPopupPane(); replaceContentPane(contentPane); - } else if(popupPane != null) { + } else if(popupPane != null && popupPane.isVisible()) { popupPane.replaceContentPane(contentArea); } }