diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-09-01 14:40:45 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-09-01 14:40:45 +0300 |
commit | 75495116fcb9e2c4a9687154134bd1cdc25554a1 (patch) | |
tree | 7512b737a2ee4016352c927a146442b3ff19df99 | |
parent | 9cddfc5a0e89f94e56eed8cf49501f1d0cb35138 (diff) |
MAINT-5556 FIXED Active listing folder stays listed, with empty Version folder
-rwxr-xr-x | indra/newview/llinventorybridge.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 36a3204391..a20540306b 100755 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -295,7 +295,11 @@ BOOL LLInvFVBridge::callback_cutToClipboard(const LLSD& notification, const LLSD S32 option = LLNotificationsUtil::getSelectedOption(notification, response); if (option == 0) // YES { - return perform_cutToClipboard(); + const LLInventoryObject* obj = gInventory.getObject(mUUID); + LLUUID parent_uuid = obj->getParentUUID(); + BOOL result = perform_cutToClipboard(); + gInventory.addChangedMask(LLInventoryObserver::STRUCTURE, parent_uuid); + return result; } return FALSE; } |