Commit 4b6c08a86f630813209c11b501cfa495e2e8ca96
1 parent
ec28565e
Exists in
watershed_improvements_bkp
Little improvements
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/styles.py
... | ... | @@ -751,7 +751,7 @@ class WatershedProgressWindow(wx.Frame): |
751 | 751 | |
752 | 752 | def _build_gui(self): |
753 | 753 | self.gauge = wx.Gauge(self, -1, 100) |
754 | - self.btn_cancel = wx.Button(self, -1, _("&Cancel")) | |
754 | + self.btn_cancel = wx.Button(self, wx.ID_CANCEL) | |
755 | 755 | |
756 | 756 | sizer = wx.BoxSizer(wx.VERTICAL) |
757 | 757 | sizer.Add(wx.StaticText(self, -1, _("Applying watershed"))) |
... | ... | @@ -782,7 +782,7 @@ class WatershedConfig(object): |
782 | 782 | def __init__(self): |
783 | 783 | self.algorithm = "Watershed" |
784 | 784 | self.con_2d = 4 |
785 | - self.con_3d = 18 | |
785 | + self.con_3d = 6 | |
786 | 786 | self.mg_size = 3 |
787 | 787 | self.use_ww_wl = True |
788 | 788 | self.operation = BRUSH_FOREGROUND | ... | ... |