From 4b6c08a86f630813209c11b501cfa495e2e8ca96 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Fri, 25 Jul 2014 15:31:08 -0300 Subject: [PATCH] Little improvements --- invesalius/data/styles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/data/styles.py b/invesalius/data/styles.py index 70e5f31..c594e0b 100644 --- a/invesalius/data/styles.py +++ b/invesalius/data/styles.py @@ -751,7 +751,7 @@ class WatershedProgressWindow(wx.Frame): def _build_gui(self): self.gauge = wx.Gauge(self, -1, 100) - self.btn_cancel = wx.Button(self, -1, _("&Cancel")) + self.btn_cancel = wx.Button(self, wx.ID_CANCEL) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(wx.StaticText(self, -1, _("Applying watershed"))) @@ -782,7 +782,7 @@ class WatershedConfig(object): def __init__(self): self.algorithm = "Watershed" self.con_2d = 4 - self.con_3d = 18 + self.con_3d = 6 self.mg_size = 3 self.use_ww_wl = True self.operation = BRUSH_FOREGROUND -- libgit2 0.21.2