summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-01-17 12:17:03 -0800
committerRichard Linden <none@none>2012-01-17 12:17:03 -0800
commit2589a7e135a9e894eb7bbe0cb1e032c105f72bf8 (patch)
tree9ab362ac00946afa114bdd7d0f0e7ed2486a7525
parent37593f276cacb9db7f1f8ed8ff6c1fe1b56ff883 (diff)
fix for crash in assert when programmatically toggling user resize
-rw-r--r--indra/llui/lllayoutstack.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index ac10afe594..000f729e29 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -314,6 +314,8 @@ void LLLayoutStack::updatePanelAutoResize(const std::string& panel_name, BOOL au
{
panel->mAutoResize = auto_resize;
}
+
+ mNeedsLayout = true;
}
void LLLayoutStack::setPanelUserResize(const std::string& panel_name, BOOL user_resize)
@@ -324,6 +326,8 @@ void LLLayoutStack::setPanelUserResize(const std::string& panel_name, BOOL user_
{
panel->mUserResize = user_resize;
}
+
+ mNeedsLayout = true;
}