CHUI-256 FIX Invalid param warnings in llfolderview when adding and deleting items from object inventory
parent
e9c436e00e
commit
3ba619053d
|
|
@ -31,7 +31,7 @@
|
|||
#include "llimview.h"
|
||||
|
||||
class LLConversationLogObserver;
|
||||
class Conversation_params;
|
||||
struct Conversation_params;
|
||||
|
||||
typedef LLIMModel::LLIMSession::SType SessionType;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue