[core] Graph.update fix: return when the update is disabled

This commit is contained in:
Fabien Castan 2017-11-06 20:49:07 +01:00
parent 0847a80bdc
commit 1472baa477

View file

@ -1161,7 +1161,9 @@ class Graph(BaseObject):
def update(self):
if not self._updateEnabled:
# To do the update once for multiple changes
self._updateRequested = True
return
self.updateInternals()
self.updateStatusFromCache()