From ab199473f72cee8020ff4c650c451f9881246a68 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Wed, 15 Sep 2010 17:21:40 +0300 Subject: STORM-148 FIXED Added updating Item Profile info upon changes of objects inventory items. The 'Item Profile' panel was observing changes in agent's inventory only, so when an item inside an object was renamed its name wasn't updated in 'Item Profile' panel. --- indra/newview/llsidepaneliteminfo.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llsidepaneliteminfo.h') diff --git a/indra/newview/llsidepaneliteminfo.h b/indra/newview/llsidepaneliteminfo.h index 82ebbfa7ec..10e93dd7de 100644 --- a/indra/newview/llsidepaneliteminfo.h +++ b/indra/newview/llsidepaneliteminfo.h @@ -37,6 +37,7 @@ class LLButton; class LLViewerInventoryItem; class LLItemPropertiesObserver; +class LLObjectInventoryObserver; class LLViewerObject; class LLPermissions; @@ -63,9 +64,13 @@ protected: void refreshFromItem(LLViewerInventoryItem* item); private: + void startObjectInventoryObserver(); + void stopObjectInventoryObserver(); + LLUUID mItemID; // inventory UUID for the inventory item. LLUUID mObjectID; // in-world task UUID, or null if in agent inventory. LLItemPropertiesObserver* mPropertiesObserver; // for syncing changes to item + LLObjectInventoryObserver* mObjectInventoryObserver; // for syncing changes to items inside an object // // UI Elements -- cgit v1.2.3