History: move cursor to end of search input field after importing address

This commit is contained in:
rating89us 2021-06-02 16:56:34 +02:00 committed by GitHub
parent 2946127ed7
commit c9ee4bf286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1779,6 +1779,8 @@ Rectangle {
function searchInHistory(searchTerm){ function searchInHistory(searchTerm){
searchInput.text = searchTerm; searchInput.text = searchTerm;
searchInput.forceActiveFocus();
searchInput.cursorPosition = searchInput.text.length;
sortAndFilter.collapsed = true; sortAndFilter.collapsed = true;
} }