Commit 53411b1eec510c17c777ae679e64be79ba1bdb83
1 parent
b0b8e8b0
Exists in
master
and in
38 other branches
Setting mip value in spinctrl
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -61,6 +61,7 @@ class ContourMIPConfig(wx.Panel): |
61 | 61 | def __init__(self, prnt, orientation): |
62 | 62 | wx.Panel.__init__(self, prnt) |
63 | 63 | self.mip_size_spin = wx.SpinCtrl(self, -1, min=1, max=240, |
64 | + value=str(const.PROJECTION_MIP_SIZE), | |
64 | 65 | initial=const.PROJECTION_MIP_SIZE) |
65 | 66 | self.mip_size_spin.SetToolTip(wx.ToolTip(_("Number of slices used to compound the visualization."))) |
66 | 67 | w, h = self.mip_size_spin.GetTextExtent('M') | ... | ... |