mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-09 08:09:37 -04:00
AutoType: resolve placeholders for title in window associations
This commit is contained in:
parent
4c2bc56d2e
commit
7f2bd47849
1 changed files with 2 additions and 1 deletions
|
@ -563,7 +563,8 @@ QString AutoType::autoTypeSequence(const Entry* entry, const QString& windowTitl
|
|||
bool match = false;
|
||||
const QList<AutoTypeAssociations::Association> assocList = entry->autoTypeAssociations()->getAll();
|
||||
for (const AutoTypeAssociations::Association& assoc : assocList) {
|
||||
if (windowMatches(windowTitle, assoc.window)) {
|
||||
const QString window = entry->resolveMultiplePlaceholders(assoc.window);
|
||||
if (windowMatches(windowTitle, window)) {
|
||||
if (!assoc.sequence.isEmpty()) {
|
||||
sequence = assoc.sequence;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue