Merge pull request #990 from keepassxreboot/fix/username_icon_nonauto

Fix filling from username icon
This commit is contained in:
Sami Vänttinen 2020-09-12 15:03:20 +03:00 committed by GitHub
commit ff8915beaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -780,6 +780,7 @@ kpxc.fillFromTOTP = async function(target) {
// Fill requested from username icon
kpxc.fillFromUsernameIcon = async function(combination) {
await kpxc.receiveCredentialsIfNecessary();
if (kpxc.credentials.length === 0) {
return;
} else if (kpxc.credentials.length > 1) {