From 187625344fe2101ecb974c19f1006a0ee0174cc8 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Fri, 8 May 2015 15:01:00 -0300 Subject: [PATCH] added a ok button to the dialog to config watershed --- invesalius/gui/task_slice.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invesalius/gui/task_slice.py b/invesalius/gui/task_slice.py index 16f0831..6a36328 100644 --- a/invesalius/gui/task_slice.py +++ b/invesalius/gui/task_slice.py @@ -977,7 +977,9 @@ class WatershedTool(EditionTools): Publisher.sendMessage('Set use ww wl', value) def OnConfig(self, evt): - dlg.WatershedOptionsDialog().Show() + from data.styles import WatershedConfig + config = WatershedConfig() + dlg.WatershedOptionsDialog(config).Show() def OnExpandWatershed(self, evt): Publisher.sendMessage('Expand watershed to 3D AXIAL') -- libgit2 0.21.2