CHUI-256 FIX Invalid param warnings in llfolderview when adding and deleting items from object inventory

meow-7.2.2
Richard Linden 2012-07-27 14:10:29 -07:00
parent e9c436e00e
commit 3ba619053d
4 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@
#include "llimview.h"
class LLConversationLogObserver;
class Conversation_params;
struct Conversation_params;
typedef LLIMModel::LLIMSession::SType SessionType;

View File

@ -107,6 +107,7 @@ BOOL LLIMFloaterContainer::postBuild()
p.rect = mConversationsListPanel->getLocalRect();
p.follows.flags = FOLLOWS_ALL;
p.listener = base_item;
p.root = NULL;
mConversationsRoot = LLUICtrlFactory::create<LLFolderView>(p);
mConversationsListPanel->addChild(mConversationsRoot);

View File

@ -659,6 +659,7 @@ LLFolderView * LLInventoryPanel::createFolderView(LLInvFVBridge * bridge, bool u
p.allow_multiselect = mAllowMultiSelect;
p.show_empty_message = mShowEmptyMessage;
p.show_item_link_overlays = mShowItemLinkOverlays;
p.root = NULL;
return LLUICtrlFactory::create<LLFolderView>(p);
}

View File

@ -1563,6 +1563,7 @@ void LLPanelObjectInventory::reset()
p.listener = LLTaskInvFVBridge::createObjectBridge(this, NULL);
p.folder_indentation = -14; // subtract space normally reserved for folder expanders
p.view_model = &mInventoryViewModel;
p.root = NULL;
mFolders = LLUICtrlFactory::create<LLFolderView>(p);
// this ensures that we never say "searching..." or "no items found"
//TODO RN: make this happen by manipulating filter object directly