[VMM] Drop zone is no longer WIP, and neither are the tabs
Searching tabs is still kinda wonky though... This needs investigation
This commit is contained in:
@@ -223,7 +223,7 @@ void LLPanelMarketplaceListings::onTabChange()
|
|||||||
// Show/hide the drop zone and resize the inventory tabs panel accordingly
|
// Show/hide the drop zone and resize the inventory tabs panel accordingly
|
||||||
LLPanel* drop_zone = (LLPanel*)getChild<LLPanel>("marketplace_drop_zone");
|
LLPanel* drop_zone = (LLPanel*)getChild<LLPanel>("marketplace_drop_zone");
|
||||||
bool drop_zone_visible = drop_zone->getVisible();
|
bool drop_zone_visible = drop_zone->getVisible();
|
||||||
bool allow_drop_on_root = panel->getAllowDropOnRoot() && gSavedSettings.getBOOL("LiruEnableWIPUI");
|
bool allow_drop_on_root = panel->getAllowDropOnRoot();
|
||||||
if (drop_zone_visible != allow_drop_on_root)
|
if (drop_zone_visible != allow_drop_on_root)
|
||||||
{
|
{
|
||||||
LLPanel* tabs = (LLPanel*)getChild<LLPanel>("tab_container_panel");
|
LLPanel* tabs = (LLPanel*)getChild<LLPanel>("tab_container_panel");
|
||||||
|
|||||||
@@ -77,9 +77,9 @@
|
|||||||
tab_position="top"
|
tab_position="top"
|
||||||
tab_min_width="10">
|
tab_min_width="10">
|
||||||
<inventory_panel label="All" name="All Items" filename="panel_marketplace_listings_inventory.xml"/>
|
<inventory_panel label="All" name="All Items" filename="panel_marketplace_listings_inventory.xml"/>
|
||||||
<inventory_panel visibility_control="LiruEnableWIPUI" label="Active" name="Active Items" filename="panel_marketplace_listings_listed.xml"/>
|
<inventory_panel label="Active" name="Active Items" filename="panel_marketplace_listings_listed.xml"/>
|
||||||
<inventory_panel visibility_control="LiruEnableWIPUI" label="Inactive" name="Inactive Items" filename="panel_marketplace_listings_unlisted.xml"/>
|
<inventory_panel label="Inactive" name="Inactive Items" filename="panel_marketplace_listings_unlisted.xml"/>
|
||||||
<inventory_panel visibility_control="LiruEnableWIPUI" label="Unassociated" name="Unassociated Items" filename="panel_marketplace_listings_unassociated.xml"/>
|
<inventory_panel label="Unassociated" name="Unassociated Items" filename="panel_marketplace_listings_unassociated.xml"/>
|
||||||
</tab_container>
|
</tab_container>
|
||||||
</panel>
|
</panel>
|
||||||
<panel
|
<panel
|
||||||
|
|||||||
Reference in New Issue
Block a user