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,7 +751,7 @@ class WatershedProgressWindow(wx.Frame): | ||
751 | 751 | ||
752 | def _build_gui(self): | 752 | def _build_gui(self): |
753 | self.gauge = wx.Gauge(self, -1, 100) | 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 | sizer = wx.BoxSizer(wx.VERTICAL) | 756 | sizer = wx.BoxSizer(wx.VERTICAL) |
757 | sizer.Add(wx.StaticText(self, -1, _("Applying watershed"))) | 757 | sizer.Add(wx.StaticText(self, -1, _("Applying watershed"))) |
@@ -782,7 +782,7 @@ class WatershedConfig(object): | @@ -782,7 +782,7 @@ class WatershedConfig(object): | ||
782 | def __init__(self): | 782 | def __init__(self): |
783 | self.algorithm = "Watershed" | 783 | self.algorithm = "Watershed" |
784 | self.con_2d = 4 | 784 | self.con_2d = 4 |
785 | - self.con_3d = 18 | 785 | + self.con_3d = 6 |
786 | self.mg_size = 3 | 786 | self.mg_size = 3 |
787 | self.use_ww_wl = True | 787 | self.use_ww_wl = True |
788 | self.operation = BRUSH_FOREGROUND | 788 | self.operation = BRUSH_FOREGROUND |