Merge pull request #1242 from j9ac9k/implement-PR-142-with-changes

Emit the event with sigClicked in PlotCurveItem
This commit is contained in:
Ogi Moore 2020-06-10 20:34:43 -07:00 committed by GitHub
commit 79ce0c46b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -613,7 +613,7 @@ class PlotCurveItem(GraphicsObject):
return
if self.mouseShape().contains(ev.pos()):
ev.accept()
self.sigClicked.emit(self)
self.sigClicked.emit(self, ev)