summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-06-04 15:41:04 +0300
committerMike Antipov <mantipov@productengine.com>2010-06-04 15:41:04 +0300
commit5e05d94f1379c5971a036dfe3468d067c3cfdbc5 (patch)
tree13a331b220323f0ce635439076a81586ebe9133f /indra/newview
parentf99a601dbe7d783b8bd80e0791a222ce51bd7dc6 (diff)
EXT-7548 FIXED Reset control variable for "Build" & "Map" buttons on destroy.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/517/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llbottomtray.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 7a3eddf7a6..41f5fe64a1 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -203,7 +203,9 @@ LLBottomTray::~LLBottomTray()
// override effect of save_visibility=true.
// this attribute is necessary to button.initial_callback=Button.SetFloaterToggle works properly:
// i.g when floater changes its visibility - button changes its toggle state.
+ getChild<LLUICtrl>("build_btn")->setControlValue(false);
getChild<LLUICtrl>("search_btn")->setControlValue(false);
+ getChild<LLUICtrl>("world_map_btn")->setControlValue(false);
}
// *TODO Vadim: why void* ?