summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-02-06 18:11:52 -0800
committerMerov Linden <merov@lindenlab.com>2013-02-06 18:11:52 -0800
commit7ed270ff9dfdbc905dbee70907d3057a5ae490e7 (patch)
treebfad6888adf7d96eadbed5d94106be5cd31df97c /indra/newview
parent418b0334f2ee92ce8b8958218c8d6db5ccc855f2 (diff)
CHUI-735 : Fixed! Move the delete key handling from the llfolderview to the llinventorypanel level.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorypanel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 019ba8f5b2..0653a097f5 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -1365,6 +1365,14 @@ BOOL LLInventoryPanel::handleKeyHere( KEY key, MASK mask )
LLInventoryAction::doToSelected(mInventory, mFolderRoot, "open");
handled = TRUE;
}
+ break;
+ case KEY_DELETE:
+ if (mask == MASK_NONE)
+ {
+ LLInventoryAction::doToSelected(mInventory, mFolderRoot, "delete");
+ handled = TRUE;
+ }
+ break;
}
return handled;
}