summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2010-09-24 16:31:43 -0700
committerKelly Washington <kelly@lindenlab.com>2010-09-24 16:31:43 -0700
commitf3b01596ddde08a178276fadc44f430928582748 (patch)
tree16561df07a203748295fd0505d142e9c551624b3 /indra/newview
parent0931799f03df4a0d573cc9162f1a81f6e3222d3b (diff)
VWR-21377 Script editor ctrl-f fix.
change to better / more consistent naming
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpreviewscript.h2
-rw-r--r--indra/newview/llviewerwindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h
index 3207da4e00..f4b31e5962 100644
--- a/indra/newview/llpreviewscript.h
+++ b/indra/newview/llpreviewscript.h
@@ -87,7 +87,7 @@ public:
static void onBtnInsertSample(void*);
static void onBtnInsertFunction(LLUICtrl*, void*);
- virtual bool hasMenus() const { return true; }
+ virtual bool hasAccelerators() const { return true; }
private:
void onBtnHelp();
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index dbc9317613..983a2d25c8 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -2143,7 +2143,7 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask)
if (mask & (MASK_CONTROL | MASK_ALT) && !gFocusMgr.focusLocked())
{
// Check the current floater's menu first, if it has one.
- if (gFocusMgr.keyboardFocusHasMenus()
+ if (gFocusMgr.keyboardFocusHasAccelerators()
&& keyboard_focus
&& keyboard_focus->handleKey(key,mask,FALSE))
{