Merge pull request #1242 from j9ac9k/implement-PR-142-with-changes
Emit the event with sigClicked in PlotCurveItem
This commit is contained in:
commit
79ce0c46b5
@ -613,7 +613,7 @@ class PlotCurveItem(GraphicsObject):
|
|||||||
return
|
return
|
||||||
if self.mouseShape().contains(ev.pos()):
|
if self.mouseShape().contains(ev.pos()):
|
||||||
ev.accept()
|
ev.accept()
|
||||||
self.sigClicked.emit(self)
|
self.sigClicked.emit(self, ev)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user