summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-02 20:54:33 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-02 20:54:33 +0200
commitc74658b19b1ac28d5bf240e940a7ad97ff034e3c (patch)
tree8dce3617044b1af291a1ca62fffcb90baec17fe8 /indra/llui/llfolderview.cpp
parentcf901b5abbe5c24da92c6c0320e3831a3798a539 (diff)
SL-19310 Update navigation buttons in single-folder view
Diffstat (limited to 'indra/llui/llfolderview.cpp')
-rw-r--r--indra/llui/llfolderview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index 5170816671..46a7057240 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -1273,6 +1273,11 @@ BOOL LLFolderView::handleKeyHere( KEY key, MASK mask )
if(mSelectedItems.size())
{
LLFolderViewItem* last_selected = getCurSelectedItem();
+ if(last_selected && last_selected->isSingleFolderMode())
+ {
+ handled = FALSE;
+ break;
+ }
LLFolderViewItem* parent_folder = last_selected->getParentFolder();
if (!last_selected->isOpen() && parent_folder && parent_folder->getParentFolder())
{