From 53411b1eec510c17c777ae679e64be79ba1bdb83 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Fri, 8 May 2015 11:11:32 -0300 Subject: [PATCH] Setting mip value in spinctrl --- invesalius/data/viewer_slice.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index d438ae6..ebaa210 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -61,6 +61,7 @@ class ContourMIPConfig(wx.Panel): def __init__(self, prnt, orientation): wx.Panel.__init__(self, prnt) self.mip_size_spin = wx.SpinCtrl(self, -1, min=1, max=240, + value=str(const.PROJECTION_MIP_SIZE), initial=const.PROJECTION_MIP_SIZE) self.mip_size_spin.SetToolTip(wx.ToolTip(_("Number of slices used to compound the visualization."))) w, h = self.mip_size_spin.GetTextExtent('M') -- libgit2 0.21.2