summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-11-02 11:42:41 -0700
committerLeslie Linden <leslie@lindenlab.com>2011-11-02 11:42:41 -0700
commit334d8f4076b4045e8fd4ede5fd9d31f0b185ded4 (patch)
treeac829fcdd7a526acc5ff123a1cc7d8c2d10dc02e /indra/newview
parent3542ac6d20b9813c04f00c9e3da4c10ffc340c70 (diff)
Updating 'createPick' behavior to mirror new 'createClassified' behavior
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llpanelpicks.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 360197ce55..04e78e04e3 100755
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -130,11 +130,11 @@ public:
void createPick()
{
- LLSD params;
- params["id"] = gAgent.getID();
- params["open_tab_name"] = "panel_picks";
- params["show_tab_panel"] = "create_pick";
- LLFloaterSidePanelContainer::showPanel("my_profile", params);
+ // open the new pick panel on the Picks floater
+ LLFloater* picks_floater = LLFloaterReg::showInstance("picks");
+
+ LLPanelPicks* picks = picks_floater->findChild<LLPanelPicks>("panel_picks");
+ picks->createNewPick();
}
void editPick(LLPickData* pick_info)