aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lltabcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lltabcontainer.cpp')
-rw-r--r--linden/indra/llui/lltabcontainer.cpp8
1 files changed, 4 insertions, 4 deletions
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,
941 else 941 else
942 { 942 {
943 LLString tooltip = trimmed_label; 943 LLString tooltip = trimmed_label;
944 tooltip += "\nCtrl-[ for previous tab"; 944 tooltip += "\nAlt-Left arrow for previous tab";
945 tooltip += "\nCtrl-] for next tab"; 945 tooltip += "\nAlt-Right arrow for next tab";
946 946
947 LLButton* btn = new LLButton( 947 LLButton* btn = new LLButton(
948 LLString(child->getName()) + " tab", 948 LLString(child->getName()) + " tab",
@@ -1486,12 +1486,12 @@ BOOL LLTabContainer::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent)
1486 if (!gFocusMgr.childHasKeyboardFocus(this)) return FALSE; 1486 if (!gFocusMgr.childHasKeyboardFocus(this)) return FALSE;
1487 1487
1488 BOOL handled = FALSE; 1488 BOOL handled = FALSE;
1489 if (key == '[' && mask == MASK_CONTROL) 1489 if (key == KEY_LEFT && mask == MASK_ALT)
1490 { 1490 {
1491 selectPrevTab(); 1491 selectPrevTab();
1492 handled = TRUE; 1492 handled = TRUE;
1493 } 1493 }
1494 else if (key == ']' && mask == MASK_CONTROL) 1494 else if (key == KEY_RIGHT && mask == MASK_ALT)
1495 { 1495 {
1496 selectNextTab(); 1496 selectNextTab();
1497 handled = TRUE; 1497 handled = TRUE;