fix some login phases issues

This commit is contained in:
Eduardo Bart
2011-11-01 23:55:36 -02:00
parent d2e8e1d774
commit 2304ff3529
5 changed files with 31 additions and 31 deletions

View File

@@ -444,7 +444,7 @@ void UIWidget::focusPreviousChild(Fw::FocusReason reason)
{
UIWidgetPtr toFocus;
UIWidgetList rotatedChildren(m_children);
std::reverse(m_children.begin(), m_children.end());
std::reverse(rotatedChildren.begin(), rotatedChildren.end());
if(m_focusedChild) {
auto focusedIt = std::find(rotatedChildren.begin(), rotatedChildren.end(), m_focusedChild);