summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-15 17:09:35 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-15 17:09:44 +0300
commit872e23e305c9b5bf1343ea52d801fa662737ceb8 (patch)
tree52abfdc9a8c3d7d5a92c7674c40bc00452136959 /indra/newview/llpanelmaininventory.cpp
parentb848e6d6b71976f1d9a5d28bcceb680b9b8f1779 (diff)
SL-19686 WIP Fix new inventory window not initing
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r--indra/newview/llpanelmaininventory.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index a785d5adb7..3226cb51a4 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -441,7 +441,10 @@ LLFloaterSidePanelContainer* LLPanelMainInventory::newWindow()
if (!gAgentCamera.cameraMouselook())
{
- return LLFloaterReg::showTypedInstance<LLFloaterSidePanelContainer>("inventory", LLSD(instance_num));
+ LLFloaterSidePanelContainer* floater = LLFloaterReg::showTypedInstance<LLFloaterSidePanelContainer>("inventory", LLSD(instance_num));
+ LLSidepanelInventory* sidepanel_inventory = floater->findChild<LLSidepanelInventory>("main_panel");
+ sidepanel_inventory->initInventoryViews();
+ return floater;
}
return NULL;
}