aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llradiogroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llradiogroup.cpp')
-rw-r--r--linden/indra/llui/llradiogroup.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llui/llradiogroup.cpp b/linden/indra/llui/llradiogroup.cpp
index 039fe81..d7373f1 100644
--- a/linden/indra/llui/llradiogroup.cpp
+++ b/linden/indra/llui/llradiogroup.cpp
@@ -42,6 +42,7 @@
42#include "llui.h" 42#include "llui.h"
43#include "llfocusmgr.h" 43#include "llfocusmgr.h"
44 44
45static LLRegisterWidget<LLRadioGroup> r("radio_group");
45 46
46LLRadioGroup::LLRadioGroup(const LLString& name, const LLRect& rect, 47LLRadioGroup::LLRadioGroup(const LLString& name, const LLRect& rect,
47 const LLString& control_name, 48 const LLString& control_name,
@@ -161,11 +162,11 @@ BOOL LLRadioGroup::setSelectedIndex(S32 index, BOOL from_event)
161 return TRUE; 162 return TRUE;
162} 163}
163 164
164BOOL LLRadioGroup::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent) 165BOOL LLRadioGroup::handleKeyHere(KEY key, MASK mask)
165{ 166{
166 BOOL handled = FALSE; 167 BOOL handled = FALSE;
167 // do any of the tab buttons have keyboard focus? 168 // do any of the tab buttons have keyboard focus?
168 if (getEnabled() && !called_from_parent && mask == MASK_NONE) 169 if (mask == MASK_NONE)
169 { 170 {
170 switch(key) 171 switch(key)
171 { 172 {