summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-08-08 13:49:13 +0300
committermaxim_productengine <mnikolenko@productengine.com>2012-08-08 13:49:13 +0300
commiteafbdb0dfea3b780b3bedced81b225bcc48ebb09 (patch)
tree6f8ce1baa1ba8c8d3d8ff0d13462b102a72af5e2 /indra
parent86a6f5478c91d292f2becfb93e958dabc1d58dc3 (diff)
MAINT-297 FIXED Reset selection after collapsing all folders
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelteleporthistory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelteleporthistory.cpp b/indra/newview/llpanelteleporthistory.cpp
index c63d89fc98..0756faf5c0 100644
--- a/indra/newview/llpanelteleporthistory.cpp
+++ b/indra/newview/llpanelteleporthistory.cpp
@@ -972,6 +972,11 @@ void LLTeleportHistoryPanel::onCollapseAllFolders()
mItemContainers.get(n)->setDisplayChildren(false);
}
mHistoryAccordion->arrange();
+
+ if (mLastSelectedFlatlList)
+ {
+ mLastSelectedFlatlList->resetSelection();
+ }
}
void LLTeleportHistoryPanel::onClearTeleportHistory()