From f5b66f353e0a958a1fa4b17a40d4014ba4f046c9 Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Thu, 24 Sep 2009 01:41:21 +0000 Subject: EXT-1008 - Unable to use the Tab key to select anything past Name Tags On removed bad LLUICtrl::onFocusLost and LLUICtrl::onFocusReceived overrides to be reviewed --- indra/llui/llradiogroup.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'indra/llui/llradiogroup.h') diff --git a/indra/llui/llradiogroup.h b/indra/llui/llradiogroup.h index b5516307fd..914548b6aa 100644 --- a/indra/llui/llradiogroup.h +++ b/indra/llui/llradiogroup.h @@ -54,7 +54,10 @@ public: Params() : length("length"), type("type") - {} + { + // radio items are not tabbable until they are selected + tab_stop = false; + } }; /*virtual*/ ~LLRadioCtrl(); @@ -103,6 +106,7 @@ public: virtual BOOL postBuild(); virtual bool addChild(LLView* view, S32 tab_group = 0); + virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); virtual BOOL handleKeyHere(KEY key, MASK mask); @@ -117,9 +121,6 @@ public: virtual void setValue(const LLSD& value ); virtual LLSD getValue() const; - // Draw the group, but also fix the highlighting based on the control. - void draw(); - // Update the control as needed. Userdata must be a pointer to the button. void onClickButton(LLUICtrl* clicked_radio); -- cgit v1.2.3