Merge pull request #113 from jdreaver/viewbox-fix
Fix PySide error when ViewBox signal destroyed
This commit is contained in:
commit
64bf3f8313
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user