Commit 7c4e8934ef445437acbe8be037307c8c3c9bf560
1 parent
3f6aaf0f
Exists in
master
and in
5 other branches
FIX: When the user wanted to change the visible mask by the combobox in the mask…
… properties nothing changed
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/gui/task_slice.py
@@ -485,6 +485,7 @@ class MaskProperties(wx.Panel): | @@ -485,6 +485,7 @@ class MaskProperties(wx.Panel): | ||
485 | mask_name = evt.GetString() | 485 | mask_name = evt.GetString() |
486 | mask_index = evt.GetSelection() | 486 | mask_index = evt.GetSelection() |
487 | Publisher.sendMessage('Change mask selected', mask_index) | 487 | Publisher.sendMessage('Change mask selected', mask_index) |
488 | + Publisher.sendMessage('Show mask', (mask_index, True)) | ||
488 | 489 | ||
489 | def OnComboThresh(self, evt): | 490 | def OnComboThresh(self, evt): |
490 | (thresh_min, thresh_max) = Project().threshold_modes[evt.GetString()] | 491 | (thresh_min, thresh_max) = Project().threshold_modes[evt.GetString()] |