Core: set properties of frozen object read-only
This commit is contained in:
@@ -110,6 +110,11 @@ class AppExport DocumentObject: public App::TransactionalObject
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(App::DocumentObject);
|
||||
|
||||
private:
|
||||
// store read-only property names at freeze
|
||||
// in order to retablish correct status at unfreeze
|
||||
std::vector<const char*> readOnlyProperties;
|
||||
|
||||
public:
|
||||
PropertyString Label;
|
||||
PropertyString Label2;
|
||||
|
||||
Reference in New Issue
Block a user