Removing debug that made functions crash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2022-10-20 18:11:40 +02:00
parent 7241add9e5
commit 677d13278d
Signed by: Ad5001
GPG key ID: 7251B1AF90B960F9

View file

@ -484,7 +484,7 @@ Item {
throw new Error(qsTranslate('error', 'Circular dependency detected. Object %1 depends on %2.').arg(dependentOnSelfObjects[0].toString()).arg(control.self)) throw new Error(qsTranslate('error', 'Circular dependency detected. Object %1 depends on %2.').arg(dependentOnSelfObjects[0].toString()).arg(control.self))
else if(dependentOnSelfObjects.length > 1) else if(dependentOnSelfObjects.length > 1)
throw new Error(qsTranslate('error', 'Circular dependency detected. Objects %1 depend on %2.').arg(dependentOnSelfObjects.map(obj => obj.toString()).join(', ')).arg(control.self)) throw new Error(qsTranslate('error', 'Circular dependency detected. Objects %1 depend on %2.').arg(dependentOnSelfObjects.map(obj => obj.toString()).join(', ')).arg(control.self))
console.log(control.self, propertyName, expr.execute()) //console.log(control.self, propertyName, expr.execute())
return expr return expr
} catch(e) { } catch(e) {
// Error in expression // Error in expression