diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index eae874ea8..ade9e45d1 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -188,7 +188,12 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const bool match = false; Q_FOREACH (const AutoTypeAssociations::Association& assoc, m_autoTypeAssociations->getAll()) { if (windowMatches(windowTitle, assoc.window)) { - sequence = assoc.sequence; + if (!assoc.sequence.isEmpty()) { + sequence = assoc.sequence; + } + else { + sequence = m_data.defaultAutoTypeSequence; + } match = true; break; }