From 5e05d94f1379c5971a036dfe3468d067c3cfdbc5 Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Fri, 4 Jun 2010 15:41:04 +0300 Subject: 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 --- indra/newview/llbottomtray.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llbottomtray.cpp') 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("build_btn")->setControlValue(false); getChild("search_btn")->setControlValue(false); + getChild("world_map_btn")->setControlValue(false); } // *TODO Vadim: why void* ? -- cgit v1.2.3