fix #256 space in autotype sequence

This commit is contained in:
thez3ro 2017-02-08 00:11:16 +01:00
parent 7db7747cb0
commit 0ac05dbb0f
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -396,6 +396,9 @@ QList<AutoTypeAction*> AutoType::createActionFromTemplate(const QString& tmpl, c
else if (tmplName.compare("enter",Qt::CaseInsensitive)==0) { else if (tmplName.compare("enter",Qt::CaseInsensitive)==0) {
list.append(new AutoTypeKey(Qt::Key_Enter)); list.append(new AutoTypeKey(Qt::Key_Enter));
} }
else if (tmplName.compare("space",Qt::CaseInsensitive)==0) {
list.append(new AutoTypeChar(' '));
}
else if (tmplName.compare("up",Qt::CaseInsensitive)==0) { else if (tmplName.compare("up",Qt::CaseInsensitive)==0) {
list.append(new AutoTypeKey(Qt::Key_Up)); list.append(new AutoTypeKey(Qt::Key_Up));
} }