mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix bug in Entry::autoTypeSequence() with default window sequences.
When using the default sequence autoTypeSequence() returned an empty string.
This commit is contained in:
parent
0b8f07f58e
commit
7abaf0e215
@ -186,14 +186,16 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const
|
||||
bool enableSet = false;
|
||||
QString sequence;
|
||||
if (!windowTitle.isEmpty()) {
|
||||
bool match = false;
|
||||
Q_FOREACH (const AutoTypeAssociations::Association& assoc, m_autoTypeAssociations->getAll()) {
|
||||
if (windowMatches(windowTitle, assoc.window)) {
|
||||
sequence = assoc.sequence;
|
||||
match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (sequence.isEmpty()) {
|
||||
if (!match) {
|
||||
return QString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user