Skip to content
Snippets Groups Projects
Commit 124c2f21 authored by Seth ProductEngine's avatar Seth ProductEngine
Browse files

STORM-270, STORM-303 FIXED sorting Favorites folder contents after re-ordering...

STORM-270, STORM-303 FIXED sorting Favorites folder contents after re-ordering landmarks in any folder view or in Favorites bar.
Previously worked only for Favorites accordion is Places SP.
parent 8209e356
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,10 @@ void LLInventoryPanel::modelChanged(U32 mask)
const LLUUID& item_id = (*items_iter);
const LLInventoryObject* model_item = model->getObject(item_id);
LLFolderViewItem* view_item = mFolderRoot->getItemByID(item_id);
LLFolderViewFolder* view_folder = mFolderRoot->getFolderByID(item_id);
// LLFolderViewFolder is derived from LLFolderViewItem so dynamic_cast from item
// to folder is the fast way to get a folder without searching through folders tree.
LLFolderViewFolder* view_folder = dynamic_cast<LLFolderViewFolder*>(view_item);
//////////////////////////////
// LABEL Operation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment