Add backtab.
This commit is contained in:
parent
107f60d55b
commit
47782f3198
|
@ -195,6 +195,13 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onBacktabPressed: {
|
||||||
|
if (isAutoCompleting) {
|
||||||
|
if (userAutoCompleteListView.currentIndex == 0) userAutoCompleteListView.currentIndex = userAutoCompleteListView.count - 1
|
||||||
|
else userAutoCompleteListView.currentIndex--
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Keys.onTabPressed: {
|
Keys.onTabPressed: {
|
||||||
if (isAutoCompleting) {
|
if (isAutoCompleting) {
|
||||||
if (userAutoCompleteListView.currentIndex + 1 == userAutoCompleteListView.count) userAutoCompleteListView.currentIndex = 0
|
if (userAutoCompleteListView.currentIndex + 1 == userAutoCompleteListView.count) userAutoCompleteListView.currentIndex = 0
|
||||||
|
|
Loading…
Reference in New Issue