Gui: [skip ci] add convenience function updateActions() to Application
Use updateActions() in ViewProvider::onChanged() to also trigger an update on pure view property changes
This commit is contained in:
@@ -539,6 +539,7 @@ void ViewProvider::onBeforeChange(const App::Property* prop)
|
||||
void ViewProvider::onChanged(const App::Property* prop)
|
||||
{
|
||||
Application::Instance->signalChangedObject(*this, *prop);
|
||||
Application::Instance->updateActions();
|
||||
|
||||
App::TransactionalObject::onChanged(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user