Commit 187625344fe2101ecb974c19f1006a0ee0174cc8

Authored by Thiago Franco de Moraes
1 parent c0b00a9c

added a ok button to the dialog to config watershed

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
invesalius/gui/task_slice.py
... ... @@ -977,7 +977,9 @@ class WatershedTool(EditionTools):
977 977 Publisher.sendMessage('Set use ww wl', value)
978 978  
979 979 def OnConfig(self, evt):
980   - dlg.WatershedOptionsDialog().Show()
  980 + from data.styles import WatershedConfig
  981 + config = WatershedConfig()
  982 + dlg.WatershedOptionsDialog(config).Show()
981 983  
982 984 def OnExpandWatershed(self, evt):
983 985 Publisher.sendMessage('Expand watershed to 3D AXIAL')
... ...