mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-07 06:27:39 +03: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue