Expressions: Fix property editor behavior

- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
This commit is contained in:
Stefan Tröger
2015-10-13 08:32:23 +02:00
committed by wmayer
parent 08b1c4619e
commit 2c249e69f2
6 changed files with 77 additions and 63 deletions

View File

@@ -180,7 +180,7 @@ bool ExpressionBinding::apply()
std::string name = docObj->getNameInDocument();
return apply("App.ActiveDocument." + name + "." + std::string(prop->getName()));
return apply("App.ActiveDocument." + name + "." + getPath().toEscapedString());
}
void ExpressionBinding::expressionChange(const ObjectIdentifier& id) {