summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-04-23 14:56:01 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-04-23 14:56:01 +0300
commit70bc98c4b0484a69ebb42717755b623bf9895e9f (patch)
tree7b65dc4e40133e2fc0f85a7728ad94f756e279d0 /indra/newview/llpanelplaces.cpp
parenta391cf9cbc0a53463db6d628c86a3477e7d8a8b8 (diff)
SL-15144 FIXED The "Remove" button is enabled with no selection
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rw-r--r--indra/newview/llpanelplaces.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index ac7bc0fc32..1713370692 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -1229,6 +1229,9 @@ void LLPanelPlaces::createTabs()
// favorites and inventory can remove items, history can clear history
childSetVisible("trash_btn_panel", TRUE);
+
+ mActivePanel->setRemoveBtn(mRemoveSelectedBtn);
+ mActivePanel->updateVerbs();
}
mTabsCreated = true;