summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-07-11 17:51:16 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-07-11 17:51:16 -0600
commitb8351e83e8a0354de743c5a4adbc52930b563a76 (patch)
treed5e902403fa69a22d93172bd10e78a10d675bdba /indra/newview/skins/default/xui
parent4b3ed516fc621e8f5300a33c99c74160f05913ef (diff)
fix for SH-2051: viewer crashes when try to disbable "Show Upload Cost"
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 499cf47b6c..0fe6c09684 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -2076,12 +2076,14 @@
</menu_item_check>
<menu_item_check
label="Show Upload Cost"
- layout="topleft"
name="Show Upload Cost">
- <menu_item_check.on_click
- function="ToggleControl"
+ <menu_item_check.on_check
+ function="CheckControl"
parameter="DebugShowUploadCost" />
- </menu_item_check>
+ <menu_item_check.on_click
+ function="ToggleControl"
+ parameter="DebugShowUploadCost" />
+ </menu_item_check>
<menu_item_check
label="Show Render Info"
name="Show Render Info">
@@ -2092,7 +2094,7 @@
function="ToggleControl"
parameter="DebugShowRenderInfo" />
</menu_item_check>
- <menu_item_check
+ <menu_item_check
label="Show Texture Info"
name="Show Texture Info">
<menu_item_check.on_check