summaryrefslogtreecommitdiff
path: root/indra/llui/llview.h
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2010-09-24 15:57:17 -0700
committerKelly Washington <kelly@lindenlab.com>2010-09-24 15:57:17 -0700
commit0931799f03df4a0d573cc9162f1a81f6e3222d3b (patch)
tree9838fe04bf3e6ee5a8e7cb6cfd33a23910bbafde /indra/llui/llview.h
parentb34856d66dfa1a725cb85d813982709566b6db7a (diff)
VWR-21377 Script editor ctrl-f fix.
let some LLViews handle shortcut keys if they want. reviewed with ambroff
Diffstat (limited to 'indra/llui/llview.h')
-rw-r--r--indra/llui/llview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llview.h b/indra/llui/llview.h
index 6bcee98f26..706858e65c 100644
--- a/indra/llui/llview.h
+++ b/indra/llui/llview.h
@@ -273,6 +273,11 @@ public:
BOOL focusNextRoot();
BOOL focusPrevRoot();
+ // Normally we want the app menus to get priority on modified keys
+ // However, if this item claims to have menus then we want to give
+ // it first chance at handling them. (eg. the script editor)
+ virtual bool hasMenus() const { return false; };
+
// delete all children. Override this function if you need to
// perform any extra clean up such as cached pointers to selected
// children, etc.