Fixed major bug EXT-4994 (Sidebar Places View Suddenly Shifts While Renaming Favorites)
- overridden default LLFolderView functionality to apply LLSelectFirstFilteredItem functor for Places / Landmarks Inventory panels - this also fixed normal bug EXT-1631 (Landmarks panel: There is selection in the each accordion after filter reset) --HG-- branch : product-enginemeow-7.2.2
parent
cc0895b900
commit
b80c6d6887
|
|
@ -174,6 +174,15 @@ S32 LLPlacesInventoryPanel::notify(const LLSD& info)
|
|||
// PUBLIC METHODS
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
LLPlacesFolderView::LLPlacesFolderView(const LLFolderView::Params& p)
|
||||
: LLFolderView(p)
|
||||
{
|
||||
// we do not need auto select functionality in places landmarks, so override default behavior.
|
||||
// this disables applying of the LLSelectFirstFilteredItem in LLFolderView::doIdle.
|
||||
// Fixed issues: EXT-1631, EXT-4994.
|
||||
mAutoSelectOverride = TRUE;
|
||||
}
|
||||
|
||||
BOOL LLPlacesFolderView::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
// let children to change selection first
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ private:
|
|||
class LLPlacesFolderView : public LLFolderView
|
||||
{
|
||||
public:
|
||||
LLPlacesFolderView(const LLFolderView::Params& p) : LLFolderView(p) {};
|
||||
LLPlacesFolderView(const LLFolderView::Params& p);
|
||||
/**
|
||||
* Handles right mouse down
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue