From 5b893778c59f78cd81cca80571a05d489a9ad8d6 Mon Sep 17 00:00:00 2001 From: "Leo.Qin" Date: Fri, 12 Jan 2024 10:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=20REPORT-107973=20=E4=B8=9C=E5=8C=BA=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E5=85=BC=E5=AE=B9=E6=8F=92=E4=BB=B6=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/mainframe/EastRegionContainerPane.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java b/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java index 4466c27eda..7a3e533ec8 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java @@ -778,15 +778,15 @@ public class EastRegionContainerPane extends UIEastResizableContainer { public PropertyItem(String name, String title, String btnIconName, PropertyMode[] visibleModes, PropertyMode[] enableModes) { - this(name, title, btnIconName, ICON_BASE_DIR, visibleModes, enableModes, null, null); + this(name, title, btnIconName, null, visibleModes, enableModes, null, null); } public PropertyItem(String name, String title, String btnIconName, PropertyMode[] visibleModes, PropertyMode[] enableModes, SnapChat snapChat, PromptWindow promptWindow, ActionListener actionListener) { - this(name, title, btnIconName, ICON_BASE_DIR, visibleModes, enableModes, snapChat, promptWindow, actionListener); + this(name, title, btnIconName, null, visibleModes, enableModes, snapChat, promptWindow, actionListener); } public PropertyItem(String name, String title, String btnIconName, PropertyMode[] visibleModes, PropertyMode[] enableModes, ActionListener actionListener) { - this(name, title, btnIconName, ICON_BASE_DIR, visibleModes, enableModes, null, null, actionListener); + this(name, title, btnIconName, null, visibleModes, enableModes, null, null, actionListener); } public PropertyItem(String name, String title, String btnIconName, String iconBaseDir, PropertyMode[] visibleModes, PropertyMode[] enableModes, SnapChat snapChat, PromptWindow promptWindow) { @@ -986,7 +986,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { public void setTabButtonSelected() { resetPropertyIcons(); - if (iconBaseDir == null || StringUtils.isEmpty(iconBaseDir)) { + if (StringUtils.isEmpty(iconBaseDir)) { button.setIcon(new LazyIcon(getBtnIconId())); iconSuffix = ICON_SUFFIX_SELECTED; } else { @@ -1032,7 +1032,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { } private void initButtonIcon() { - if (iconBaseDir == null || StringUtils.isEmpty(iconBaseDir)) { + if (StringUtils.isEmpty(iconBaseDir)) { button.setIcon(new LazyIcon(getBtnIconId())); button.setDisabledIcon(new LazyIcon(btnIconName + ICON_SUFFIX_DISABLED)); } else {