Change behavior of autocompletion when empty results

This commit is contained in:
Carl Schwan
2020-11-27 16:35:42 +01:00
parent 496781954b
commit 77177e9efc

View File

@@ -344,6 +344,8 @@ ToolBar {
}
if (autoCompleteModel.length === 0) {
isAutoCompleting = false;
autoCompleteListView.currentIndex = 0;
return;
}
isAutoCompleting = true