SL-19689 In combination view 'raname' field doesn't update position properly
parent
03ed823e59
commit
eaf95d084a
|
|
@ -255,13 +255,13 @@ public:
|
|||
virtual void updateMenu();
|
||||
|
||||
void finishRenamingItem( void );
|
||||
void updateRenamerPosition();
|
||||
|
||||
// Note: We may eventually have to move that method up the hierarchy to LLFolderViewItem.
|
||||
LLHandle<LLFolderView> getHandle() const { return getDerivedHandle<LLFolderView>(); }
|
||||
|
||||
private:
|
||||
void updateMenuOptions(LLMenuGL* menu);
|
||||
void updateRenamerPosition();
|
||||
|
||||
protected:
|
||||
LLScrollContainer* mScrollContainer; // NULL if this is not a child of a scroll container.
|
||||
|
|
|
|||
|
|
@ -2357,6 +2357,12 @@ void LLPanelMainInventory::updateCombinationVisibility()
|
|||
{
|
||||
scrollToInvPanelSelection();
|
||||
}
|
||||
|
||||
LLFolderView* root_folder = mCombinationInventoryPanel->getRootFolder();
|
||||
if (root_folder)
|
||||
{
|
||||
root_folder->updateRenamerPosition();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue