From c07901e29ed545bbb02e3bddf148fe1104b94e9f Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:56 -0500 Subject: Second Life viewer sources 1.15.1.3 --- linden/indra/llui/lltabcontainer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linden/indra/llui/lltabcontainer.cpp') diff --git a/linden/indra/llui/lltabcontainer.cpp b/linden/indra/llui/lltabcontainer.cpp index db09717..61cfde4 100644 --- a/linden/indra/llui/lltabcontainer.cpp +++ b/linden/indra/llui/lltabcontainer.cpp @@ -941,8 +941,8 @@ void LLTabContainer::addTabPanel(LLPanel* child, else { LLString tooltip = trimmed_label; - tooltip += "\nCtrl-[ for previous tab"; - tooltip += "\nCtrl-] for next tab"; + tooltip += "\nAlt-Left arrow for previous tab"; + tooltip += "\nAlt-Right arrow for next tab"; LLButton* btn = new LLButton( LLString(child->getName()) + " tab", @@ -1486,12 +1486,12 @@ BOOL LLTabContainer::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent) if (!gFocusMgr.childHasKeyboardFocus(this)) return FALSE; BOOL handled = FALSE; - if (key == '[' && mask == MASK_CONTROL) + if (key == KEY_LEFT && mask == MASK_ALT) { selectPrevTab(); handled = TRUE; } - else if (key == ']' && mask == MASK_CONTROL) + else if (key == KEY_RIGHT && mask == MASK_ALT) { selectNextTab(); handled = TRUE; -- cgit v1.1