Fix auto-type regression when using {delay=x}

This commit is contained in:
Weslly 2018-01-05 23:08:04 -02:00
parent 8f99764f24
commit 6a75fd84ab
No known key found for this signature in database
GPG Key ID: 0506FFCC6A90226C

View File

@ -332,10 +332,9 @@ bool AutoType::parseActions(const QString& sequence, const Entry* entry, QList<A
return false;
} else if (ch == '}') {
QList<AutoTypeAction*> autoType = createActionFromTemplate(tmpl, entry);
if (autoType.isEmpty()) {
return false;
if (!autoType.isEmpty()) {
actions.append(autoType);
}
actions.append(autoType);
inTmpl = false;
tmpl.clear();
} else {