Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Updating 3d view when link is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha committed Mar 13, 2020
1 parent cca2343 commit a906088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nexus_constructor/component_tree_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def _remove_link(self, index: QModelIndex):
if len(transformation_list) > 0:
parent_transform = transformation_list[len(transformation_list) - 1]
parent_transform.depends_on = None
self.instrument.nexus.transformation_changed.emit()

def __update_link_rows(self):
nr_of_components = self.rowCount(QModelIndex())
Expand Down

0 comments on commit a906088

Please sign in to comment.