summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpermissions.cpp
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2008-12-02 20:35:40 +0000
committerAdam Moss <moss@lindenlab.com>2008-12-02 20:35:40 +0000
commitfd46865a502036b9e4414e7ec4950faf551b1f14 (patch)
tree634dbca07e829d3906ed555341118c361aa1bb14 /indra/newview/llpanelpermissions.cpp
parentde7d6cf4dfa1db2945e3ed4a3e8257d72674a496 (diff)
QAR-1040 maint-viewer-11 + OpenAL combo mergeme
svn merge -c104451 svn+ssh://svn.lindenlab.com/svn/linden/branches/moss/openal-maint-viewer-11-combo-r104448
Diffstat (limited to 'indra/newview/llpanelpermissions.cpp')
-rw-r--r--indra/newview/llpanelpermissions.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp
index 3dab6e62c6..fff5c1985b 100644
--- a/indra/newview/llpanelpermissions.cpp
+++ b/indra/newview/llpanelpermissions.cpp
@@ -357,17 +357,19 @@ void LLPanelPermissions::refresh()
{
edit_name_desc = TRUE;
}
+
+ childSetEnabled("Name:",true);
+ LLLineEditor* LineEditorObjectName = getChild<LLLineEditor>("Object Name");
+ childSetEnabled("Description:",true);
+ LLLineEditor* LineEditorObjectDesc = getChild<LLLineEditor>("Object Description");
+
if(is_one_object)
{
- childSetEnabled("Name:",true);
- LLLineEditor* LineEditorObjectName = getChild<LLLineEditor>("Object Name");
if(keyboard_focus_view != LineEditorObjectName)
{
childSetText("Object Name",nodep->mName);
}
- childSetEnabled("Description:",true);
- LLLineEditor* LineEditorObjectDesc = getChild<LLLineEditor>("Object Description");
if(LineEditorObjectDesc)
{
if(keyboard_focus_view != LineEditorObjectDesc)
@@ -376,6 +378,11 @@ void LLPanelPermissions::refresh()
}
}
}
+ else
+ {
+ childSetText("Object Name",LLStringUtil::null);
+ LineEditorObjectDesc->setText(LLStringUtil::null);
+ }
if(edit_name_desc)
{