mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
AutoType: resolve placeholders for title in window associations
This commit is contained in:
parent
4c2bc56d2e
commit
7f2bd47849
@ -563,7 +563,8 @@ QString AutoType::autoTypeSequence(const Entry* entry, const QString& windowTitl
|
|||||||
bool match = false;
|
bool match = false;
|
||||||
const QList<AutoTypeAssociations::Association> assocList = entry->autoTypeAssociations()->getAll();
|
const QList<AutoTypeAssociations::Association> assocList = entry->autoTypeAssociations()->getAll();
|
||||||
for (const AutoTypeAssociations::Association& assoc : assocList) {
|
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()) {
|
if (!assoc.sequence.isEmpty()) {
|
||||||
sequence = assoc.sequence;
|
sequence = assoc.sequence;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user