From 6a75fd84abc02f5b65d77dea82e333afe09886e7 Mon Sep 17 00:00:00 2001 From: Weslly Date: Fri, 5 Jan 2018 23:08:04 -0200 Subject: [PATCH] Fix auto-type regression when using {delay=x} --- src/autotype/AutoType.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index 2df3b4f1e..976a7d46e 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -332,10 +332,9 @@ bool AutoType::parseActions(const QString& sequence, const Entry* entry, QList autoType = createActionFromTemplate(tmpl, entry); - if (autoType.isEmpty()) { - return false; + if (!autoType.isEmpty()) { + actions.append(autoType); } - actions.append(autoType); inTmpl = false; tmpl.clear(); } else {