Skip to content

Commit

Permalink
Merge pull request gaphor#2527 from gaphor/fix-association-invert-dir…
Browse files Browse the repository at this point in the history
…ection

Fix error when inverting association
  • Loading branch information
amolenaar committed Jul 22, 2023
2 parents 004ebf0 + dc31502 commit c7c0c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gaphor/UML/classes/associationpropertypages.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def name_handler(event):
def restore_nav_handler(event):
for end_name, end in (("head", head), ("tail", tail)):
combo = builder.get_object(f"{end_name}-navigation")
self._on_end_navigability_change(combo, end)
self._on_end_navigability_change(combo, None, end)

# Watch on association end:
self.watcher.watch("memberEnd[Property].name", name_handler).watch(
Expand Down

0 comments on commit c7c0c8a

Please sign in to comment.