From a906088dbe13a27982284b4b34fb5b14b9a22ccd Mon Sep 17 00:00:00 2001 From: Jack Harper Date: Fri, 13 Mar 2020 10:51:55 +0000 Subject: [PATCH] Updating 3d view when link is deleted --- nexus_constructor/component_tree_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nexus_constructor/component_tree_model.py b/nexus_constructor/component_tree_model.py index 199d9a707..dd2150727 100644 --- a/nexus_constructor/component_tree_model.py +++ b/nexus_constructor/component_tree_model.py @@ -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())