Make the No Listings Text able to do the url replacement thing

This commit is contained in:
Lirusaito
2019-03-05 14:09:08 -05:00
parent 4fdc1f3311
commit ebd852a060
3 changed files with 7 additions and 3 deletions

View File

@@ -412,7 +412,7 @@ BOOL LLFloaterMarketplaceListings::postBuild()
mInventoryStatus = getChild<LLTextBox>("marketplace_status");
mInventoryInitializationInProgress = getChild<LLView>("initialization_progress_indicator");
mInventoryPlaceholder = getChild<LLView>("marketplace_listings_inventory_placeholder_panel");
mInventoryText = mInventoryPlaceholder->getChild<LLTextBox>("marketplace_listings_inventory_placeholder_text");
mInventoryText = mInventoryPlaceholder->getChild<LLTextEditor>("marketplace_listings_inventory_placeholder_text");
mInventoryTitle = mInventoryPlaceholder->getChild<LLTextBox>("marketplace_listings_inventory_placeholder_title");
LLFocusableElement::setFocusReceivedCallback(boost::bind(&LLFloaterMarketplaceListings::onFocusReceived, this));

View File

@@ -140,7 +140,7 @@ private:
LLTextBox * mInventoryStatus;
LLView * mInventoryInitializationInProgress;
LLView * mInventoryPlaceholder;
LLTextBox * mInventoryText;
LLTextEditor * mInventoryText;
LLTextBox * mInventoryTitle;
LLUUID mRootFolderId;

View File

@@ -52,8 +52,12 @@
font="SansSerifBold">
Loading...
</text>
<text
<text_editor
name="marketplace_listings_inventory_placeholder_text"
bg_readonly_color="ChatHistoryBgColor"
enabled="false"
hide_border="true"
hide_scrollbar="true"
type="string"
follows="top|left|right"
layout="topleft"