summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorBoroondas Gupte <hg@boroon.dasgupta.ch>2010-09-02 18:29:42 +0200
committerBoroondas Gupte <hg@boroon.dasgupta.ch>2010-09-02 18:29:42 +0200
commit3e299ab7642871b9d687940b1968de98f461892d (patch)
tree79cb9be4dca1c2b6b497850d3560540c5d5e5013 /indra/llui
parent8c4678e894eba1e51156a88209cd5c7854715701 (diff)
VWR-20583 FIXED submenu indicators (▶ a.k.a. U+25B6) shouldn't be hard-coded
in context menu sub menu names Use the same mechanism for adding the triangle in LLContextMenuBranch as is already used in LLMenuItemBranchGL. As a bonus, the triangles will be nicely right-aligned, just as in the main menu. Remaining hard-coded triangles all are in indra/newview/skins/default/xui/*/panel_voice_effect.xml.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index b4a1bcb7c5..e7a6f1e6f6 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -3727,8 +3727,7 @@ void LLContextMenuBranch::buildDrawLabel( void )
appendAcceleratorString( st );
mDrawAccelLabel = st;
- // No special branch suffix
- mDrawBranchLabel.clear();
+ mDrawBranchLabel = BRANCH_SUFFIX;
}
void LLContextMenuBranch::showSubMenu()