Merge
commit
3dbe4e1b30
|
|
@ -540,6 +540,13 @@ void LLPanelMainInventory::changed(U32)
|
|||
updateItemcountText();
|
||||
}
|
||||
|
||||
void LLPanelMainInventory::setFocusFilterEditor()
|
||||
{
|
||||
if(mFilterEditor)
|
||||
{
|
||||
mFilterEditor->setFocus(true);
|
||||
}
|
||||
}
|
||||
|
||||
// virtual
|
||||
void LLPanelMainInventory::draw()
|
||||
|
|
|
|||
|
|
@ -82,6 +82,9 @@ public:
|
|||
void setSelectCallback(const LLFolderView::signal_t::slot_type& cb);
|
||||
|
||||
void onFilterEdit(const std::string& search_string );
|
||||
|
||||
void setFocusFilterEditor();
|
||||
|
||||
protected:
|
||||
//
|
||||
// Misc functions
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ void LLSidepanelInventory::onToggleInboxBtn()
|
|||
void LLSidepanelInventory::onOpen(const LLSD& key)
|
||||
{
|
||||
LLFirstUse::newInventory(false);
|
||||
|
||||
mPanelMainInventory->setFocusFilterEditor();
|
||||
#if AUTO_EXPAND_INBOX
|
||||
// Expand the inbox if we have fresh items
|
||||
LLPanelMarketplaceInbox * inbox = findChild<LLPanelMarketplaceInbox>(MARKETPLACE_INBOX_PANEL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue