diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-11-02 11:03:38 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-11-02 11:03:38 -0700 |
commit | a900701f55ee0acea8ce6e44002c509d9f03b756 (patch) | |
tree | c3a6102ffa00015f7924efa2b668efc08fe21469 /indra/newview/llpanelpicks.cpp | |
parent | 2c3fc19aac83b92651cc058126aff0ba66d1ad3c (diff) |
EXP-1474 FIX -- Create Classified does not work from Search Window
* The code now opens the "picks" window and starts the "create new classified"
action on it directly.
Reviewed by Richard.
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) |