diff options
author | Oz Linden <oz@lindenlab.com> | 2010-12-02 13:50:39 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-12-02 13:50:39 -0500 |
commit | 5098ca5ae444ca492bc668fbd07976e96eb5726a (patch) | |
tree | f392ec41ad1c3a44287dfff5efe6997962b9c4fc /indra/newview/llsidetray.cpp | |
parent | 37116479d299f23a289e39accc3899d6ea977203 (diff) | |
parent | 6e62c6c410df9001b56ffd57c6c6d8cd9fe035e6 (diff) |
merge fix for STORM-557
Diffstat (limited to 'indra/newview/llsidetray.cpp')
-rw-r--r-- | indra/newview/llsidetray.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp index a4f855f279..2905e369f1 100644 --- a/indra/newview/llsidetray.cpp +++ b/indra/newview/llsidetray.cpp @@ -298,7 +298,11 @@ static void on_minimize(LLSidepanelAppearance* panel, LLSD minimized) { if (!panel) return; bool visible = !minimized.asBoolean(); - panel->updateToVisibility(LLSD(visible)); + LLSD visibility; + visibility["visible"] = visible; + // Do not reset accordion state on minimize (STORM-375) + visibility["reset_accordion"] = false; + panel->updateToVisibility(visibility); } void LLSideTrayTab::undock(LLFloater* floater_tab) |