Commit c5cf22bb2a8daaffe3f694ee3fabebdec8d3c346

Authored by Thiago Franco de Moraes
1 parent 6aefad77

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 255  
256 256 self.LoadProject()
257 257  
258   - Publisher.sendMessage('Update threshold limits',
  258 + Publisher.sendMessage('Update threshold limits list',
259 259 proj.threshold_range)
260 260 session = ses.Session()
261 261 session.OpenProject(filepath)
... ... @@ -447,7 +447,7 @@ class Controller():
447 447 self.Slice.window_width = proj.window
448 448 self.Slice.spacing = header.get_zooms()[:3]
449 449  
450   - Publisher.sendMessage('Update threshold limits',
  450 + Publisher.sendMessage('Update threshold limits list',
451 451 proj.threshold_range)
452 452  
453 453 def CreateDicomProject(self, dicom, matrix, matrix_filename):
... ... @@ -565,7 +565,7 @@ class Controller():
565 565 self.Slice.window_level = wl
566 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 570 return self.matrix, self.filename, dicom
571 571  
... ...