diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 4ad83b086..74f68702c 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -356,13 +356,16 @@ bool AutoType::parseActions(const QString& sequence, const Entry* entry, QList autoType = createActionFromTemplate(tmpl, entry); - if (autoType.isEmpty()) return false; + QList autoType = createActionFromTemplate(tmpl, entry); + if (autoType.isEmpty()) { + return false; + } actions.append(autoType); inTmpl = false; tmpl.clear();