From bcfbe9b4ecd07245693a1b44c73b5d831dd71e0d Mon Sep 17 00:00:00 2001 From: John David Reaver Date: Wed, 22 Oct 2014 16:33:40 -0700 Subject: [PATCH] Fix PySide error when ViewBox signal destroyed Fixes issue #107 --- pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyqtgraph/graphicsItems/ViewBox/ViewBox.py b/pyqtgraph/graphicsItems/ViewBox/ViewBox.py index ceca62c8..ec9c20fe 100644 --- a/pyqtgraph/graphicsItems/ViewBox/ViewBox.py +++ b/pyqtgraph/graphicsItems/ViewBox/ViewBox.py @@ -1718,6 +1718,8 @@ class ViewBox(GraphicsWidget): pass except TypeError: ## view has already been deleted (?) pass + except AttributeError: # PySide has deleted signal + pass def locate(self, item, timeout=3.0, children=False): """