From 330ea83c3dd8f56f4cef56481f951b705d28f027 Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Wed, 13 Oct 2010 15:39:16 -0700 Subject: making profiles look nicer when display names isn't on --- indra/newview/llpanelprofileview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview/llpanelprofileview.cpp') diff --git a/indra/newview/llpanelprofileview.cpp b/indra/newview/llpanelprofileview.cpp index 9011583a60..7635aedf58 100644 --- a/indra/newview/llpanelprofileview.cpp +++ b/indra/newview/llpanelprofileview.cpp @@ -222,7 +222,6 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, { getChild("user_name_small")->setVisible( false ); getChild("user_name")->setVisible( true ); - } if (LLAvatarNameCache::useDisplayNames()) @@ -232,6 +231,7 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, getChild("display_name_label")->setVisible( true ); getChild("copy_to_clipboard")->setVisible( true ); getChild("copy_to_clipboard")->setEnabled( true ); + getChild("solo_username_label")->setVisible( false ); } else { @@ -240,6 +240,7 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, getChild("display_name_label")->setVisible( false ); getChild("copy_to_clipboard")->setVisible( false ); getChild("copy_to_clipboard")->setEnabled( false ); + getChild("solo_username_label")->setVisible( true ); } } -- cgit v1.3