diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-10 19:03:12 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-10 19:03:12 +0300 |
commit | c4335939d90346a778eb18acb7611135742231df (patch) | |
tree | 7becafc166f3afd18e036a92fb3eb7e96be3f3eb /indra/newview/llpanelprofilepicks.cpp | |
parent | dd4156251b0ad18f283d1b79a692c8a4a76c0900 (diff) |
SL-17925 Fix SLURL based creation of picks and classifieds
Diffstat (limited to 'indra/newview/llpanelprofilepicks.cpp')
-rw-r--r-- | indra/newview/llpanelprofilepicks.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llpanelprofilepicks.cpp b/indra/newview/llpanelprofilepicks.cpp index cf693f41b2..774119f169 100644 --- a/indra/newview/llpanelprofilepicks.cpp +++ b/indra/newview/llpanelprofilepicks.cpp @@ -77,10 +77,10 @@ public: return true; } - // handle app/classified/create urls first + // handle app/pick/create urls first if (params.size() == 1 && params[0].asString() == "create") { - LLAvatarActions::showPicks(gAgent.getID()); + LLAvatarActions::createPick(); return true; } @@ -317,7 +317,6 @@ void LLPanelProfilePicks::processProperties(const LLAvatarPicks* avatar_picks) if (selected_id == pick_id) { - mPickToSelectOnLoad = LLUUID::null; has_selection = true; } } @@ -340,6 +339,8 @@ void LLPanelProfilePicks::processProperties(const LLAvatarPicks* avatar_picks) has_selection = true; } + // reset 'do on load' values + mPickToSelectOnLoad = LLUUID::null; mSheduledPickCreation.clear(); if (getSelfProfile()) |