From 7849e12c3104771a96806e8e721e3d5d92f856d2 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Tue, 27 Jun 2023 00:25:38 +0300
Subject: [PATCH] SL-19815 Fix missed 'handled' flags

---
 indra/newview/llinventorygallery.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp
index 248f3ed649e..2a71735a537 100644
--- a/indra/newview/llinventorygallery.cpp
+++ b/indra/newview/llinventorygallery.cpp
@@ -1045,6 +1045,7 @@ BOOL LLInventoryGallery::handleKeyHere(KEY key, MASK mask)
                     }
                 }
             }
+            handled = TRUE;
             break;
         case KEY_DELETE:
 #if LL_DARWIN
@@ -1056,6 +1057,7 @@ BOOL LLInventoryGallery::handleKeyHere(KEY key, MASK mask)
             {
                 deleteSelection();
             }
+            handled = TRUE;
             break;
 
         case KEY_F2:
-- 
GitLab