Good day, I have a PlotWidget that I send to, and display inside, a QDialog from the MainWindow using a signal triggered when the PlotWidget is double clicked. The PlotWidget as a whole is popped from the MainWindow. My problem is that when I click on the PlotWidget after it is sent to the QDialog and I close the dialog an exception is triggered by a section of the GraphicsScene's mouseReleaseEvent function. "self.clickEvents.remove(cev[0])" <- this line causes the exception. Either the mouseReleaseEvent is called when closing the dialog or the exception is not thrown immediately? I've noticed that when I single click on the PlotWidget there is a weird second event in the clickEvents variable of the GraphicsScene that looks to not be tied to a widget as shown in the screenshot.[image: eventCapture.PNG] I've tried clearing the GraphicsScene's clickEvents when entering the dialog in case there was an unprocessed click event, but no luck.
I'm using Win10 with Python3.8 64 bit. Thanks, Brandon -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/f828a682-777a-48f5-b432-4521f2e26966n%40googlegroups.com.
