FIRE-16547: Merchant Outbox options are not hidden in FS-VMM for migrated users

meow-7.2.2
Ansariel 2015-08-01 03:37:33 +02:00
parent 77207f9a4a
commit 829ad710e1
2 changed files with 9 additions and 3 deletions

View File

@ -487,6 +487,15 @@ void set_merchant_outbox_menu(U32 status, const LLSD& content)
void check_merchant_status()
{
// <FS:Ansariel> FIRE-16547: Merchant Outbox options are not hidden in FS-VMM for migrated users
if (!LLGridManager::getInstance()->isInSecondLife())
{
gMenuHolder->getChild<LLView>("MerchantOutbox")->setVisible(FALSE);
gMenuHolder->getChild<LLView>("MarketplaceListings")->setVisible(FALSE);
return;
}
// </FS:Ansariel>
if (!gSavedSettings.getBOOL("InventoryOutboxDisplayBoth"))
{
// Reset the SLM status: we actually want to check again, that's the point of calling check_merchant_status()

View File

@ -28,9 +28,6 @@
<menu_item_call.on_click
function="Floater.Show"
parameter="outbox" />
<menu_item_call.on_visible
function="GridCheck"
parameter="secondlife"/>
</menu_item_call>
<menu_item_call
label="Marketplace listings..."