[VMM] Fix a crash on delete listing, probably due to perceived recursion

This commit is contained in:
Lirusaito
2019-03-11 16:59:16 -04:00
parent 84608b67fa
commit 7da511fc32

View File

@@ -84,7 +84,7 @@ void LLInventoryAction::callback_doToSelected(const LLSD& notification, const LL
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if (option == 0) // YES
{
doToSelected(folder, action);
doToSelected(folder, action, false);
}
}
@@ -93,11 +93,11 @@ void LLInventoryAction::callback_copySelected(const LLSD& notification, const LL
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if (option == 0) // YES, Move no copy item(s)
{
doToSelected(root, "copy_or_move_to_marketplace_listings");
doToSelected(root, "copy_or_move_to_marketplace_listings", false);
}
else if (option == 1) // NO, Don't move no copy item(s) (leave them behind)
{
doToSelected(root, "copy_to_marketplace_listings");
doToSelected(root, "copy_to_marketplace_listings", false);
}
}