FIRE-35947 Hide the new 'options' and 'trash' icons at the top of outfits window

Currently they do not work, at all - Firestorm uses context menus and icons at the bottom of the panel anyway
Change can be reverted when they get some proper usage, right now they're a bit misleading
master
PanteraPolnocy 2025-10-04 19:11:31 +02:00
parent 2ee66d2b6f
commit 6f5d67fd1f
2 changed files with 6 additions and 3 deletions

View File

@ -429,7 +429,10 @@ void LLPanelOutfitsInventory::onTabChange()
}
if (mTrashMenuPanel)
{
mTrashMenuPanel->setVisible(mActivePanel->getTrashMenuVisible());
// <FS:PP> FIRE-35947 Ensure the top menu buttons (gear/sort/trash) are only visible in the outfits panel
// mTrashMenuPanel->setVisible(mActivePanel->getTrashMenuVisible());
mTrashMenuPanel->setVisible(false);
// </FS:PP>
}
updateVerbs();

View File

@ -366,9 +366,9 @@ void LLSidepanelAppearance::toggleMyOutfitsPanel(bool visible, const std::string
mCurrOutfitPanel->setVisible(visible);
// <FS:PP> FIRE-35947 Ensure the top menu buttons (gear/sort/trash) are only visible in the outfits panel
getChildView("options_gear_btn_panel")->setVisible(visible);
getChildView("options_gear_btn_panel")->setVisible(false);
getChildView("options_sort_btn_panel")->setVisible(visible);
getChildView("trash_btn_panel")->setVisible(visible);
getChildView("trash_btn_panel")->setVisible(false);
// </FS:PP>
if (visible)