summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-10-09 16:10:00 -0700
committerdolphin <dolphin@lindenlab.com>2014-10-09 16:10:00 -0700
commitf9113c286fae143962f1d79663e66a303c46ce51 (patch)
tree9190363e14749efdb3f46de02c67c377a0b9718e /indra/newview/llpanelobjectinventory.cpp
parent873a72fdbad8bca29cf8129b318719c1af5f8e9d (diff)
parent788ce7a8cdbbbf98566ce75ec281ec00c21dc6d8 (diff)
Merge
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rwxr-xr-xindra/newview/llpanelobjectinventory.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index 665b9ab294..6b74d90708 100755
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -1862,14 +1862,19 @@ void LLPanelObjectInventory::refresh()
}
if(!has_inventory)
{
- mTaskUUID = LLUUID::null;
- removeVOInventoryListener();
- clearContents();
+ clearInventoryTask();
}
mInventoryViewModel.setTaskID(mTaskUUID);
//LL_INFOS() << "LLPanelObjectInventory::refresh() " << mTaskUUID << LL_ENDL;
}
+void LLPanelObjectInventory::clearInventoryTask()
+{
+ mTaskUUID = LLUUID::null;
+ removeVOInventoryListener();
+ clearContents();
+}
+
void LLPanelObjectInventory::removeSelectedItem()
{
if(mFolders)