Skip to content
Snippets Groups Projects
Commit b49c2cc7 authored by Benjamin Arnaud's avatar Benjamin Arnaud
Browse files

KeyNavigableListView

parent b32ec290
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,10 @@ FocusScope {
// Functions
function setCurrentFocus(reason) {
if (!model || model.count === 0) return;
if (!model || model.count === 0) {
forceActiveFocus();
return;
}
if (currentIndex === -1)
currentIndex = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment