fix: fix channel picker needing to hit bottom to select after searching

This commit is contained in:
Jonathan Rainville 2021-03-29 11:27:38 -04:00 committed by Iuri Matias
parent e33266aa2f
commit 1c95a495b8
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ Popup {
if (event.key === Qt.Key_Enter || event.key === Qt.Key_Return) {
return popup.onClicked(listView.currentIndex)
}
if (!listView.currentItem.visible) {
goToNextAvailableIndex(false)
}
}
}