mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-16 11:38:50 -04:00
For global auto-type use the default sequence of the entry before the group.
This commit is contained in:
parent
4a357e791e
commit
7820bf2510
1 changed files with 6 additions and 1 deletions
|
@ -188,7 +188,12 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const
|
||||||
bool match = false;
|
bool match = false;
|
||||||
Q_FOREACH (const AutoTypeAssociations::Association& assoc, m_autoTypeAssociations->getAll()) {
|
Q_FOREACH (const AutoTypeAssociations::Association& assoc, m_autoTypeAssociations->getAll()) {
|
||||||
if (windowMatches(windowTitle, assoc.window)) {
|
if (windowMatches(windowTitle, assoc.window)) {
|
||||||
|
if (!assoc.sequence.isEmpty()) {
|
||||||
sequence = assoc.sequence;
|
sequence = assoc.sequence;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
sequence = m_data.defaultAutoTypeSequence;
|
||||||
|
}
|
||||||
match = true;
|
match = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue