Commit c5cf22bb2a8daaffe3f694ee3fabebdec8d3c346
1 parent
6aefad77
Exists in
master
and in
62 other branches
Updating threshold presets limits when opening a dicom, analyze or inv3 file
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/control.py
@@ -255,7 +255,7 @@ class Controller(): | @@ -255,7 +255,7 @@ class Controller(): | ||
255 | 255 | ||
256 | self.LoadProject() | 256 | self.LoadProject() |
257 | 257 | ||
258 | - Publisher.sendMessage('Update threshold limits', | 258 | + Publisher.sendMessage('Update threshold limits list', |
259 | proj.threshold_range) | 259 | proj.threshold_range) |
260 | session = ses.Session() | 260 | session = ses.Session() |
261 | session.OpenProject(filepath) | 261 | session.OpenProject(filepath) |
@@ -447,7 +447,7 @@ class Controller(): | @@ -447,7 +447,7 @@ class Controller(): | ||
447 | self.Slice.window_width = proj.window | 447 | self.Slice.window_width = proj.window |
448 | self.Slice.spacing = header.get_zooms()[:3] | 448 | self.Slice.spacing = header.get_zooms()[:3] |
449 | 449 | ||
450 | - Publisher.sendMessage('Update threshold limits', | 450 | + Publisher.sendMessage('Update threshold limits list', |
451 | proj.threshold_range) | 451 | proj.threshold_range) |
452 | 452 | ||
453 | def CreateDicomProject(self, dicom, matrix, matrix_filename): | 453 | def CreateDicomProject(self, dicom, matrix, matrix_filename): |
@@ -565,7 +565,7 @@ class Controller(): | @@ -565,7 +565,7 @@ class Controller(): | ||
565 | self.Slice.window_level = wl | 565 | self.Slice.window_level = wl |
566 | self.Slice.window_width = ww | 566 | self.Slice.window_width = ww |
567 | 567 | ||
568 | - Publisher.sendMessage('Update threshold limits', scalar_range) | 568 | + Publisher.sendMessage('Update threshold limits list', scalar_range) |
569 | 569 | ||
570 | return self.matrix, self.filename, dicom | 570 | return self.matrix, self.filename, dicom |
571 | 571 |