SimpleITK / SlicerSimpleFilters

A Module for Slicer3D to provide a simple GUI to image filters from the Insight Toolkit.
Other
1 stars 12 forks source link

BUG: Fix calling disconnect on destroyed object #13

Closed jamesobutler closed 5 years ago

jamesobutler commented 5 years ago

@blowekamp @jcfr This fixes the following exception error observed on close of Slicer 4.10 after having opened the SimpleFilters module:

Exception ValueError: "Trying to call 'disconnect' on a destroyed qMRMLNodeComboBox object" in <bound method FilterParameters.__del__ of <SimpleFilters.FilterParameters object at 0x0000000015ABD2E8>> ignored

The code I'm removing was originally introduced as part of a fix for #10. I'm only reverting this one part of that commit because I checked and the rest of it is still needed for that fix in that issue.

jcfr commented 5 years ago

Thanks for the patch :+1: