mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -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
@ -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…
Reference in New Issue
Block a user