Commit 4f28590f authored by jaswantp's avatar jaswantp
Browse files

Change Destroyed->Close To Qt.DirectConnection

parent a06d2338
......@@ -326,7 +326,7 @@ class QVTKRenderWindowInteractor(QVTKRWIBaseClass):
# Connect the parent's destroyed signal to this widget's close
# slot for proper cleanup of VTK objects.
if self.parent():
self.parent().destroyed.connect(self.close, Qt.DirectConnection)
def __getattr__(self, attr):
"""Makes the object behave like a vtkGenericRenderWindowInteractor"""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment