Merge pull request #1354 from weslly/fix/autotype-regression

Fix auto-type regression introduced at #1174
This commit is contained in:
Janek Bevendorff 2018-01-06 03:27:12 +01:00 committed by GitHub
commit 5e38faa09d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {