From 0303f2807fc410727a7d402d5edb0a0d80c18b3f Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Wed, 15 Nov 2017 12:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E5=90=8D=E9=81=8D=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/src/com/fr/design/actions/UpdateAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer_base/src/com/fr/design/actions/UpdateAction.java b/designer_base/src/com/fr/design/actions/UpdateAction.java index dc2f2fbfd9..a82087a905 100644 --- a/designer_base/src/com/fr/design/actions/UpdateAction.java +++ b/designer_base/src/com/fr/design/actions/UpdateAction.java @@ -506,8 +506,8 @@ public abstract class UpdateAction extends ShortCut implements Action { for (int i = 0; i < ((JComboBox) component).getItemCount(); i++) { Object componentName = ((JComboBox) component).getItemAt(i); if (componentName instanceof String && StringUtils.isNotBlank(String.valueOf(componentName))) { - text.append(componentName); - String title = (String) componentName; + String title = String.valueOf(componentName); + text.append(title); handleSearchText(separator, text, pinyin, shortPinyin, title); } }