Improve focusFirstChild() and focusLastChild()
This commit is contained in:
parent
8b195f7783
commit
058c129742
|
@ -1283,7 +1283,10 @@ bool FWidget::focusFirstChild (void)
|
|||
if ( widget->numOfChildren() >= 1 )
|
||||
{
|
||||
if ( ! widget->focusFirstChild() )
|
||||
{
|
||||
++iter;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else
|
||||
widget->setFocus();
|
||||
|
|
Loading…
Reference in New Issue