+ expose onDocumentRestored to Python feature classes
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
bool execute();
|
||||
void onBeforeChange(const Property* prop);
|
||||
void onChanged(const Property* prop);
|
||||
void onDocumentRestored();
|
||||
PyObject *getPyObject(void);
|
||||
|
||||
private:
|
||||
@@ -200,6 +201,10 @@ protected:
|
||||
imp->onChanged(prop);
|
||||
FeatureT::onChanged(prop);
|
||||
}
|
||||
virtual void onDocumentRestored() {
|
||||
imp->onDocumentRestored();
|
||||
FeatureT::onDocumentRestored();
|
||||
}
|
||||
|
||||
private:
|
||||
FeaturePythonImp* imp;
|
||||
|
||||
Reference in New Issue
Block a user