parent
b430a0e5bf
commit
e7f3f2b969
@ -616,6 +616,9 @@ int EventHandler::findIDClosestWidget(const NavigationDirection nav, const int p
|
||||
closest_wrapping_widget_id;
|
||||
Widget* w_test = GUIEngine::getWidget(closest_id);
|
||||
|
||||
if (w_test == NULL)
|
||||
return -1;
|
||||
|
||||
// If the newly found focus target is invisible, or not activated,
|
||||
// it is not a good target, search again
|
||||
// This allows to skip over disabled/invisible widgets in a grid
|
||||
|
Loading…
Reference in New Issue
Block a user