EXT-3124 : Add lookup for finding all linked items to an item
Filter string now highlights when doing this search. --HG-- branch : avatar-pipelinemeow-7.2.2
parent
9b89325cc9
commit
92a1ecd5fd
|
|
@ -141,6 +141,15 @@ void LLSearchEditor::clear()
|
|||
}
|
||||
}
|
||||
|
||||
//virtual
|
||||
void LLSearchEditor::setFocus( BOOL b )
|
||||
{
|
||||
if (mSearchEditor)
|
||||
{
|
||||
mSearchEditor->setFocus(b);
|
||||
}
|
||||
}
|
||||
|
||||
void LLSearchEditor::onClearButtonClick(const LLSD& data)
|
||||
{
|
||||
setText(LLStringUtil::null);
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ public:
|
|||
virtual BOOL setLabelArg( const std::string& key, const LLStringExplicit& text );
|
||||
virtual void setLabel( const LLStringExplicit &new_label );
|
||||
virtual void clear();
|
||||
virtual void setFocus( BOOL b );
|
||||
|
||||
void setKeystrokeCallback( commit_callback_t cb ) { mKeystrokeCallback = cb; }
|
||||
|
||||
|
|
|
|||
|
|
@ -978,6 +978,7 @@ void LLPanelMainInventory::onCustomAction(const LLSD& userdata)
|
|||
LLInventoryFilter *filter = mActivePanel->getFilter();
|
||||
filter->setFilterSubString(item_name);
|
||||
mFilterEditor->setText(item_name);
|
||||
mFilterEditor->setFocus(TRUE);
|
||||
filter->setFilterUUID(item_id);
|
||||
filter->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue