diff --git a/mythtv/libs/libmythui/mythscreentype.cpp b/mythtv/libs/libmythui/mythscreentype.cpp
index d0b80aa..1709262 100644
|
a
|
b
|
MythUIType *MythScreenType::GetFocusWidget(void) const
|
| 129 | 129 | |
| 130 | 130 | bool MythScreenType::SetFocusWidget(MythUIType *widget) |
| 131 | 131 | { |
| 132 | | if (!widget || !widget->IsVisible()) |
| | 132 | if (!widget || !widget->IsVisible(true)) |
| 133 | 133 | { |
| 134 | 134 | QMap<int, MythUIType *>::iterator it = m_FocusWidgetList.begin(); |
| 135 | 135 | MythUIType *current; |
| … |
… |
bool MythScreenType::SetFocusWidget(MythUIType *widget)
|
| 138 | 138 | { |
| 139 | 139 | current = *it; |
| 140 | 140 | |
| 141 | | if (current->CanTakeFocus() && current->IsVisible()) |
| | 141 | if (current->CanTakeFocus() && current->IsVisible(true)) |
| 142 | 142 | { |
| 143 | 143 | widget = current; |
| 144 | 144 | break; |
| … |
… |
bool MythScreenType::NextPrevWidgetFocus(bool up)
|
| 188 | 188 | current = *it; |
| 189 | 189 | |
| 190 | 190 | if ((looped || reachedCurrent) && |
| 191 | | current->IsVisible() && current->IsEnabled()) |
| | 191 | current->IsVisible(true) && current->IsEnabled()) |
| 192 | 192 | return SetFocusWidget(current); |
| 193 | 193 | |
| 194 | 194 | if (current == m_CurrentFocusWidget) |
| … |
… |
bool MythScreenType::NextPrevWidgetFocus(bool up)
|
| 216 | 216 | current = *it; |
| 217 | 217 | |
| 218 | 218 | if ((looped || reachedCurrent) && |
| 219 | | current->IsVisible() && current->IsEnabled()) |
| | 219 | current->IsVisible(true) && current->IsEnabled()) |
| 220 | 220 | return SetFocusWidget(current); |
| 221 | 221 | |
| 222 | 222 | if (current == m_CurrentFocusWidget) |