fix missing Api version for formatters

This commit is contained in:
2016-08-02 20:50:16 +03:00
parent 51b7d3aa09
commit 24ad32b6ca
7 changed files with 6 additions and 8 deletions

View File

@ -174,6 +174,7 @@ int AWScriptFormatter::showConfiguration(const QVariant args)
return ret;
setName(ui->lineEdit_name->text());
setComment(ui->lineEdit_comment->text());
setApiVersion(AWEFAPI);
setStrType(ui->label_typeValue->text());
setAppendCode(ui->checkBox_appendCode->checkState() == Qt::Checked);
setHasReturn(ui->checkBox_hasReturn->checkState() == Qt::Checked);