diff --git a/src/Mod/TechDraw/App/DrawViewAnnotation.cpp b/src/Mod/TechDraw/App/DrawViewAnnotation.cpp index e166b71f8e..ab9a3b511a 100644 --- a/src/Mod/TechDraw/App/DrawViewAnnotation.cpp +++ b/src/Mod/TechDraw/App/DrawViewAnnotation.cpp @@ -100,6 +100,9 @@ void DrawViewAnnotation::onChanged(const App::Property* prop) void DrawViewAnnotation::handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property *prop) // transforms properties that had been changed { + // also check for changed properties of the base class + DrawView::handleChangedPropertyType(reader, TypeName, prop); + // property LineSpace had the App::PropertyInteger and was changed to App::PropertyPercent if (prop == &LineSpace && strcmp(TypeName, "App::PropertyInteger") == 0) { App::PropertyInteger LineSpaceProperty; diff --git a/src/Mod/TechDraw/App/DrawViewAnnotation.h b/src/Mod/TechDraw/App/DrawViewAnnotation.h index 102084a58e..edc7780120 100644 --- a/src/Mod/TechDraw/App/DrawViewAnnotation.h +++ b/src/Mod/TechDraw/App/DrawViewAnnotation.h @@ -70,7 +70,7 @@ public: protected: virtual void onChanged(const App::Property* prop); - void handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property * prop); + virtual void handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property * prop); private: static const char* TextStyleEnums[];