diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-15 17:09:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-15 17:09:44 +0300 |
commit | 872e23e305c9b5bf1343ea52d801fa662737ceb8 (patch) | |
tree | 52abfdc9a8c3d7d5a92c7674c40bc00452136959 /indra | |
parent | b848e6d6b71976f1d9a5d28bcceb680b9b8f1779 (diff) |
SL-19686 WIP Fix new inventory window not initing
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 5 |
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; } |