diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index c03b4b74e..58fe6e3b1 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -186,9 +186,12 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const break; } } - } - if (sequence.isEmpty()) { + if (sequence.isEmpty()) { + return QString(); + } + } + else { sequence = m_data.defaultAutoTypeSequence; }