mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-02 19:56:59 +03:00
Fixed writing of variables
This commit is contained in:
@@ -59,7 +59,7 @@ void VariablesHolder::addVariable(const QString& name, const QVariant& value, Va
|
||||
varValue->setVarType(type);
|
||||
varValue->setRenderPass(pass);
|
||||
m_varNames.insert(name,varValue);
|
||||
if (type==VarDesc::User)
|
||||
if (type==VarDesc::Report)
|
||||
m_userVariables.append(varValue);
|
||||
} else {
|
||||
throw ReportError(tr("variable with name ")+name+tr(" already exists !!"));
|
||||
|
Reference in New Issue
Block a user