diff --git a/src/Gui/ViewProviderPythonFeature.h b/src/Gui/ViewProviderPythonFeature.h index 45ed27095f..71bd6ff0c1 100644 --- a/src/Gui/ViewProviderPythonFeature.h +++ b/src/Gui/ViewProviderPythonFeature.h @@ -512,10 +512,9 @@ protected: ViewProviderT::updateView(); } } - else { - imp->onChanged(prop); - ViewProviderT::onChanged(prop); - } + + imp->onChanged(prop); + ViewProviderT::onChanged(prop); } /// is called by the document when the provider goes in edit mode virtual bool setEdit(int ModNum) override