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

Commit

Permalink
Merge pull request #684 from ess-dmsc/683_transformations_not_updated…
Browse files Browse the repository at this point in the history
…_when_link_deleted

Updating 3d view when link is deleted
  • Loading branch information
matthew-d-jones authored Mar 13, 2020
2 parents 73e030b + a906088 commit 21e5d41
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 21e5d41

Please sign in to comment.