From af888e6255ea8246c570af9c835b5bc03828e7f9 Mon Sep 17 00:00:00 2001 From: Yvan Date: Mon, 23 Nov 2020 14:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=20REPORT-43754=20=E3=80=90=E4=BA=8C=E8=BD=AE?= =?UTF-8?q?=E5=86=92=E7=83=9F=E3=80=91=E8=BF=9C=E7=A8=8B=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E9=87=8D=E5=A4=8D=E7=9A=84=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E6=8F=90=E9=86=92=20=E3=80=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=8E=9F=E5=9B=A0=E3=80=91=E5=9C=A8Listener=E4=B8=AD?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=87=8D=E5=A4=8D=E7=9A=84=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E6=9C=89=E7=82=B9=E9=97=AE=E9=A2=98=EF=BC=8C=E5=AE=83=E4=BC=9A?= =?UTF-8?q?=E6=8A=8A=E7=94=A8=E6=88=B7=E4=BF=AE=E6=94=B9=E4=BA=86=E6=9F=90?= =?UTF-8?q?=E4=B8=80=E9=A1=B9=E5=90=8D=E5=AD=97=E5=90=8E=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=9A=84=E5=8F=A6=E4=B8=80=E9=A1=B9=E7=9A=84=E5=90=8D?= =?UTF-8?q?=E5=AD=97=E7=BD=AE=E4=B8=BA=E7=A9=BA=EF=BC=8C=E7=84=B6=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E9=81=8D=E5=8E=86allListNames=EF=BC=8C=E7=9C=8B?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=89=E9=87=8D=E5=A4=8D=E7=9A=84=E5=90=8D?= =?UTF-8?q?=E5=AD=97=EF=BC=8C=E4=BE=8B=E5=A6=82=EF=BC=8Caa=E3=80=81bb?= =?UTF-8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=A9=BA=E3=80=82=E5=8D=B3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9aa=E4=B8=BAbb=E5=90=8E=EF=BC=8C=E5=B0=86bb=E4=B8=8E""?= =?UTF-8?q?=E3=80=81bb=E3=80=81cc=E6=AF=94=E8=BE=83=EF=BC=8C=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=9C=89=E9=87=8D=E5=A4=8D=EF=BC=8C=E7=84=B6=E5=90=8E?= =?UTF-8?q?=E7=BB=99=E5=87=BA=E5=91=BD=E5=90=8D=E9=87=8D=E5=A4=8D=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer-base/src/main/java/com/fr/env/EnvListPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/env/EnvListPane.java b/designer-base/src/main/java/com/fr/env/EnvListPane.java index 2d875cb458..454388e124 100644 --- a/designer-base/src/main/java/com/fr/env/EnvListPane.java +++ b/designer-base/src/main/java/com/fr/env/EnvListPane.java @@ -34,7 +34,7 @@ public class EnvListPane extends JListControlPane { public void propertyChange() { String tempName = getEditingName(); String[] allListNames = nameableList.getAllNames(); - allListNames[nameableList.getSelectedIndex()] = StringUtils.EMPTY; + allListNames[editingIndex] = StringUtils.EMPTY; if (StringUtils.isEmpty(tempName)) { nameableList.stopEditing(); FineJOptionPane.showMessageDialog(SwingUtilities.getWindowAncestor(EnvListPane.this), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Workspace_Empty_Name_Warn_Text"));