diff options
author | Cho <cho@lindenlab.com> | 2014-06-05 03:11:01 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2014-06-05 03:11:01 +0100 |
commit | 921a93999bf78dcff9da3fa6cd7e1ec01d998d02 (patch) | |
tree | c0420b96467846715d200d4b5f4cdf32c5d60dfe /indra/newview/llfloaterexperiencepicker.cpp | |
parent | f10f3d2fdec90b0ca4d34e6b90642e7c45896d9e (diff) |
Fixed double vision in experience picker floater for ACME-1473
Diffstat (limited to 'indra/newview/llfloaterexperiencepicker.cpp')
-rw-r--r-- | indra/newview/llfloaterexperiencepicker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterexperiencepicker.cpp b/indra/newview/llfloaterexperiencepicker.cpp index da65e50244..04a2d541de 100644 --- a/indra/newview/llfloaterexperiencepicker.cpp +++ b/indra/newview/llfloaterexperiencepicker.cpp @@ -153,6 +153,8 @@ LLFloaterExperiencePicker::~LLFloaterExperiencePicker() BOOL LLFloaterExperiencePicker::postBuild() { - mSearchPanel = static_cast<LLPanelExperiencePicker*>(getChild<LLUICtrl>("panel_experience_search")); + mSearchPanel = new LLPanelExperiencePicker(); + addChild(mSearchPanel); + mSearchPanel->setOrigin(0, 0); return LLFloater::postBuild(); } |