summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.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/llpanelteleporthistory.cpp
parenta391cf9cbc0a53463db6d628c86a3477e7d8a8b8 (diff)
SL-15144 FIXED The "Remove" button is enabled with no selection
Diffstat (limited to 'indra/newview/llpanelteleporthistory.cpp')
-rw-r--r--indra/newview/llpanelteleporthistory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp
index 7a3d3525ac..b938b30479 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -570,9 +570,9 @@ void LLTeleportHistoryPanel::updateVerbs()
if (!isTabVisible())
return;
- if (!mLastSelectedFlatlList)
+ if (sRemoveBtn)
{
- return;
+ sRemoveBtn->setEnabled(true);
}
}