(STORM-383) Context menu cannot be open for Landmark that are located in the My inventory->Trash folder
Review Request #77 - Created Jan. 11, 2011 and submitted
Seth ProductEngine | Reviewers | ||
viewer | |||
STORM-383 | |||
None | viewer-development |
Added "Restore Item" context menu entry for landmarks and folders in Trash category in Places->My Landmarks->My Inventory accordion tab.
Posted (Jan. 16, 2011, 7:37 a.m.)
-
indra/newview/llpanellandmarks.cpp (Diff revision 1) -
Why are the checks for are_all_items_in_trash and are_any_items_in_trash different? I guess it should be something like: bool item_in_trash = listenerp->isItemInTrash() && *iter != trash_id; are_all_items_in_trash &= item_in_trash; are_any_items_in_trash |= item_in_trash;
-
indra/newview/llpanellandmarks.cpp (Diff revision 1) -
Although we use the same approach in the Appearance SP for enabling/displaying context menu items, it may be not what users expect. Please clearly state this behavior in the ticket comment for PO to notice.
Review request changed
Updated (Jan. 17, 2011, 8:17 a.m.)
-
- added Diff r2
Minor style-related changes. Added comments.
Other reviews