Fix PySide error when ViewBox signal destroyed

Fixes issue #107
This commit is contained in:
John David Reaver 2014-10-22 16:33:40 -07:00
parent 70d9f1eeed
commit bcfbe9b4ec

View File

@ -1718,6 +1718,8 @@ class ViewBox(GraphicsWidget):
pass pass
except TypeError: ## view has already been deleted (?) except TypeError: ## view has already been deleted (?)
pass pass
except AttributeError: # PySide has deleted signal
pass
def locate(self, item, timeout=3.0, children=False): def locate(self, item, timeout=3.0, children=False):
""" """