From c5cf22bb2a8daaffe3f694ee3fabebdec8d3c346 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Mon, 25 Feb 2013 16:06:54 -0300 Subject: [PATCH] Updating threshold presets limits when opening a dicom, analyze or inv3 file --- invesalius/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index 3588300..9ebce1b 100644 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -255,7 +255,7 @@ class Controller(): self.LoadProject() - Publisher.sendMessage('Update threshold limits', + Publisher.sendMessage('Update threshold limits list', proj.threshold_range) session = ses.Session() session.OpenProject(filepath) @@ -447,7 +447,7 @@ class Controller(): self.Slice.window_width = proj.window self.Slice.spacing = header.get_zooms()[:3] - Publisher.sendMessage('Update threshold limits', + Publisher.sendMessage('Update threshold limits list', proj.threshold_range) def CreateDicomProject(self, dicom, matrix, matrix_filename): @@ -565,7 +565,7 @@ class Controller(): self.Slice.window_level = wl self.Slice.window_width = ww - Publisher.sendMessage('Update threshold limits', scalar_range) + Publisher.sendMessage('Update threshold limits list', scalar_range) return self.matrix, self.filename, dicom -- libgit2 0.21.2