SL-19689 In combination view 'raname' field doesn't update position properly

master
Andrey Kleshchev 2023-05-06 03:17:45 +03:00
parent 03ed823e59
commit eaf95d084a
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -2357,6 +2357,12 @@ void LLPanelMainInventory::updateCombinationVisibility()
{
scrollToInvPanelSelection();
}
LLFolderView* root_folder = mCombinationInventoryPanel->getRootFolder();
if (root_folder)
{
root_folder->updateRenamerPosition();
}
}
}