From 7c4e8934ef445437acbe8be037307c8c3c9bf560 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Fri, 20 Apr 2012 12:58:27 +0000 Subject: [PATCH] FIX: When the user wanted to change the visible mask by the combobox in the mask properties nothing changed --- invesalius/gui/task_slice.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/gui/task_slice.py b/invesalius/gui/task_slice.py index aa03ed1..7789937 100644 --- a/invesalius/gui/task_slice.py +++ b/invesalius/gui/task_slice.py @@ -485,6 +485,7 @@ class MaskProperties(wx.Panel): mask_name = evt.GetString() mask_index = evt.GetSelection() Publisher.sendMessage('Change mask selected', mask_index) + Publisher.sendMessage('Show mask', (mask_index, True)) def OnComboThresh(self, evt): (thresh_min, thresh_max) = Project().threshold_modes[evt.GetString()] -- libgit2 0.21.2