From ee19ef5486899028b6ed6307f220daff72a27338 Mon Sep 17 00:00:00 2001
From: Vadim Savchuk <vsavchuk@productengine.com>
Date: Thu, 15 Jul 2010 15:39:28 +0300
Subject: [PATCH] EXT-8343 FIXED Fixed inability to rename a wearable
 containing non-ASCII character in the name.

It is actually possible to edit a default item name in My Inventory: when
user clicks on the input field, all its text gets selected, so user can just
enter the new name (although editing the old name is disallowed).

This fix implements the same behavior in the Edit Wearable panel by
selecting the name when the input field gets focused.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/763/

--HG--
branch : product-engine
---
 indra/newview/skins/default/xui/en/panel_edit_wearable.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/indra/newview/skins/default/xui/en/panel_edit_wearable.xml b/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
index 484617df345..9fb777e0e79 100644
--- a/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
+++ b/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
@@ -242,6 +242,7 @@
          max_length="63"
          name="description"
          prevalidate_callback="ascii"
+         select_on_focus="true"
          text_color="black"
          top_pad="3"
          width="290" />
-- 
GitLab