diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-11-02 11:15:57 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-11-02 11:15:57 -0700 |
commit | 3542ac6d20b9813c04f00c9e3da4c10ffc340c70 (patch) | |
tree | b3ac2cccd719eefeb7afcb521a4e43d115bc8594 /indra/newview/llpanelpicks.cpp | |
parent | 54672c8f14e8ba90e0362fd7ebb8febcebeb03e6 (diff) | |
parent | a900701f55ee0acea8ce6e44002c509d9f03b756 (diff) |
merge
Diffstat (limited to 'indra/newview/llpanelpicks.cpp')
-rwxr-xr-x | indra/newview/llpanelpicks.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp index 72c6be4c79..360197ce55 100755 --- a/indra/newview/llpanelpicks.cpp +++ b/indra/newview/llpanelpicks.cpp @@ -247,12 +247,11 @@ public: void createClassified() { - // open the new classified panel on the Me > Picks sidetray - LLSD params; - params["id"] = gAgent.getID(); - params["open_tab_name"] = "panel_picks"; - params["show_tab_panel"] = "create_classified"; - LLFloaterSidePanelContainer::showPanel("my_profile", params); + // open the new classified panel on the Picks floater + LLFloater* picks_floater = LLFloaterReg::showInstance("picks"); + + LLPanelPicks* picks = picks_floater->findChild<LLPanelPicks>("panel_picks"); + picks->createNewClassified(); } void openClassified(LLAvatarClassifiedInfo* c_info) |