summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-11-10 13:33:16 +0200
committerMike Antipov <mantipov@productengine.com>2009-11-10 13:33:16 +0200
commit7dabb3c46e6cdf208ce7dc46b89f431a247d6ba6 (patch)
treeb101b8ed86898b3709042025a2109cdfe75489b2
parente808f41bafed708df0bee494193cbcbfb245c620 (diff)
No Ticket: added possibility to resize a floater in UI Preview Tool (if can_resize attribute is set in xml)
--HG-- branch : product-engine
-rw-r--r--indra/newview/llfloateruipreview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloateruipreview.cpp b/indra/newview/llfloateruipreview.cpp
index 663bd232f7..3613ac803e 100644
--- a/indra/newview/llfloateruipreview.cpp
+++ b/indra/newview/llfloateruipreview.cpp
@@ -849,6 +849,7 @@ void LLFloaterUIPreview::displayFloater(BOOL click, S32 ID, bool save)
{
LLUICtrlFactory::getInstance()->buildFloater(*floaterp, path, NULL); // just build it
(*floaterp)->openFloater((*floaterp)->getKey());
+ (*floaterp)->setCanResize((*floaterp)->isResizable());
}
}