fix focus navigation in dynamic delegate of list view
This commit is contained in:
parent
416421cba7
commit
ed6fc27e52
1 changed files with 2 additions and 4 deletions
|
|
@ -279,10 +279,8 @@ void ListViewFocusController::focusNextItem()
|
|||
return;
|
||||
}
|
||||
|
||||
if (m_focusChain.empty()) {
|
||||
qDebug() << "Empty focusChain with current delegate: " << currentDelegate() << "Scanning for elements...";
|
||||
m_focusChain = getItemsChain(currentDelegate());
|
||||
}
|
||||
m_focusChain = getItemsChain(currentDelegate());
|
||||
|
||||
if (m_focusChain.empty()) {
|
||||
qWarning() << "No elements found in the delegate. Going to next delegate...";
|
||||
nextDelegate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue