Skip to content

Commit

Permalink
Fix gaphorconvert too
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed Dec 17, 2020
1 parent 647ebc6 commit 8015f79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gaphor/core/modeling/diagram.py
Expand Up @@ -284,15 +284,13 @@ def dirty_items_with_ancestors():
yield from self._tree.get_ancestors(item)

all_dirty_items = list(reversed(list(sort(dirty_items_with_ancestors()))))

contexts = self._pre_update_items(all_dirty_items)

self._resolved_items.clear()
super().update_now(dirty_items, dirty_matrix_items)

all_dirty_items.extend(self._resolved_items)
all_post_dirty_items = reversed(list(sort(dirty_items_with_ancestors())))
self._post_update_items(all_post_dirty_items, contexts)
self._post_update_items(reversed(list(sort(all_dirty_items))), contexts)

def _pre_update_items(self, items):
diagram = self.diagram
Expand Down

0 comments on commit 8015f79

Please sign in to comment.