From 15b0419cf623ed3b05e4076625ed65885f9c1196 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Mon, 7 Apr 2014 15:14:28 -0300 Subject: [PATCH] Setting threshold limits before setting mask threshold when open a inv proj --- invesalius/control.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index cd74ad8..4e526b0 100644 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -253,10 +253,11 @@ class Controller(): mask._set_class_index(proj.last_mask_index) self.mask_dict_copy = proj.mask_dict.copy() - self.LoadProject() - Publisher.sendMessage('Update threshold limits list', proj.threshold_range) + + self.LoadProject() + session = ses.Session() session.OpenProject(filepath) Publisher.sendMessage("Enable state project", True) -- libgit2 0.21.2