diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-10-22 11:35:58 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-10-22 11:35:58 -0400 |
commit | 7b1dd1c84ea781992532a9aa65029928f32f3f4f (patch) | |
tree | 7e05750b2b7fad604d94c55e1df5bef80e608f5f /indra/newview/llpanelprofile.cpp | |
parent | 53eeee7b70a80e718b8331bde66848fdfbe77355 (diff) |
SOCIAL-84 FIX, SOCIAL-85 FIX - new slapps for edit classified, create and edit pick
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rwxr-xr-x | indra/newview/llpanelprofile.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 0b5975195d..240f651eec 100755 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -216,6 +216,25 @@ void LLPanelProfile::onOpen(const LLSD& key) picks->openClassifiedEdit(params); } } + else if (panel == "create_pick") + { + LLPanelPicks* picks = dynamic_cast<LLPanelPicks *>(getTabContainer()[PANEL_PICKS]); + if (picks) + { + picks->createNewPick(); + } + } + else if (panel == "edit_pick") + { + LLPanelPicks* picks = dynamic_cast<LLPanelPicks *>(getTabContainer()[PANEL_PICKS]); + if (picks) + { + LLSD params = key; + params.erase("show_tab_panel"); + params.erase("open_tab_name"); + picks->openPickEdit(params); + } + } } } |