diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-06 20:12:56 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-06 20:12:56 +0300 |
commit | b3beabec8660602a891c94f4afb8c63a2b31e62f (patch) | |
tree | 85dcc53a52e81b5e8bfe92d350f63be31c45cb91 /indra/newview/llpanelmaininventory.cpp | |
parent | cc39c1e852b1b8ad0e6dc2bb7907b8116c716c1d (diff) |
SL-19550 Add a shop menu item to the Inventory menu
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 7d7a92de81..5535d64d27 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -60,6 +60,7 @@ #include "llfolderview.h" #include "llradiogroup.h" #include "llenvironment.h" +#include "llweb.h" const std::string FILTERS_FILENAME("filters.xml"); @@ -1815,7 +1816,10 @@ void LLPanelMainInventory::onCustomAction(const LLSD& userdata) LLAvatarActions::shareWithAvatars(this); } } - + if (command_name == "shop") + { + LLWeb::loadURL(gSavedSettings.getString("MarketplaceURL")); + } if (command_name == "list_view") { setViewMode(MODE_LIST); |