diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2010-10-13 15:39:16 -0700 |
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2010-10-13 15:39:16 -0700 |
| commit | 330ea83c3dd8f56f4cef56481f951b705d28f027 (patch) | |
| tree | cde3db83125d456b75a9e1c0c6208f229a1bea6b /indra/newview/llpanelprofileview.cpp | |
| parent | 84f06e40e1e12723228e31d1a329c899cec99751 (diff) | |
making profiles look nicer when display names isn't on
Diffstat (limited to 'indra/newview/llpanelprofileview.cpp')
| -rw-r--r-- | indra/newview/llpanelprofileview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<LLUICtrl>("user_name_small")->setVisible( false ); getChild<LLUICtrl>("user_name")->setVisible( true ); - } if (LLAvatarNameCache::useDisplayNames()) @@ -232,6 +231,7 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, getChild<LLUICtrl>("display_name_label")->setVisible( true ); getChild<LLUICtrl>("copy_to_clipboard")->setVisible( true ); getChild<LLUICtrl>("copy_to_clipboard")->setEnabled( true ); + getChild<LLUICtrl>("solo_username_label")->setVisible( false ); } else { @@ -240,6 +240,7 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, getChild<LLUICtrl>("display_name_label")->setVisible( false ); getChild<LLUICtrl>("copy_to_clipboard")->setVisible( false ); getChild<LLUICtrl>("copy_to_clipboard")->setEnabled( false ); + getChild<LLUICtrl>("solo_username_label")->setVisible( true ); } } |
