[hotfix] ignoring error when mouseclick signal cannot be disconnected

This commit is contained in:
Marcel Paffrath 2017-06-12 10:42:44 +02:00
parent a2c73f7726
commit ddedd3ed7a
2 changed files with 5 additions and 2 deletions

View File

@ -1234,7 +1234,10 @@ class MainWindow(QMainWindow):
def disconnect_pg(self): def disconnect_pg(self):
if self.poS_id: if self.poS_id:
try:
self.dataPlot.plotWidget.scene().sigMouseClicked.disconnect() self.dataPlot.plotWidget.scene().sigMouseClicked.disconnect()
except:
pass
def disconnect_mpl(self): def disconnect_mpl(self):
if self.poS_id: if self.poS_id:

View File

@ -1 +1 @@
8e83-dirty a2c7-dirty