mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-22 05:44:46 -04:00
Entry::autoTypeSequence() returns null string when no window matches.
Return QString() when a windowTitle is passed but doesn't match any auto-type association.
This commit is contained in:
parent
6d5b31f527
commit
f4a4930f42
1 changed files with 5 additions and 2 deletions
|
@ -186,9 +186,12 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (sequence.isEmpty()) {
|
if (sequence.isEmpty()) {
|
||||||
|
return QString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
sequence = m_data.defaultAutoTypeSequence;
|
sequence = m_data.defaultAutoTypeSequence;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue