diff --git a/designer-base/src/main/java/com/fr/design/mainframe/DesktopCardPane.java b/designer-base/src/main/java/com/fr/design/mainframe/DesktopCardPane.java index 02fa561416..e62c55b592 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/DesktopCardPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/DesktopCardPane.java @@ -148,6 +148,7 @@ public class DesktopCardPane extends BasicPane implements TargetModifiedListener public void showForbiddenStatus() { component.setVisible(false); + forbiddenPane.setVisible(true); layeredPane.moveToFront(forbiddenPane); forbidToolBar(); EastRegionContainerPane.getInstance().updateAllPropertyPane(); @@ -156,6 +157,7 @@ public class DesktopCardPane extends BasicPane implements TargetModifiedListener public void hideCover() { recoverToolBar(); transparentPane.stop(); + forbiddenPane.setVisible(false); layeredPane.moveToFront(component); EastRegionContainerPane.getInstance().updateAllPropertyPane(); JComponent downPane = WestRegionContainerPane.getInstance().getDownPane();