[hotfix] ignoring error when mouseclick signal cannot be disconnected
This commit is contained in:
parent
a2c73f7726
commit
ddedd3ed7a
@ -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:
|
||||||
|
@ -1 +1 @@
|
|||||||
8e83-dirty
|
a2c7-dirty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user