diff options
Diffstat (limited to 'client/widgets/checkgroupbox.cc')
| -rw-r--r-- | client/widgets/checkgroupbox.cc | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/client/widgets/checkgroupbox.cc b/client/widgets/checkgroupbox.cc index 8020a45..7204418 100644 --- a/client/widgets/checkgroupbox.cc +++ b/client/widgets/checkgroupbox.cc @@ -137,3 +137,17 @@ void CheckGroupBox::setWdgValid(bool valid)    groupbox->setPalette(palette);  } + +bool CheckGroupBox::setKeyboardFocus() +{ +  QVector< Widget* >::iterator i = children.begin(); +  while(i != children.end()) { +    Widget *w = *i; +    if(w) { +      if(w->setKeyboardFocus()) return true; +    } +    i++; +  } + +  return false; +} | 
