Merge pull request #389 from ales-erjavec/scroll-phase-fix
Revert "ignore wheel events in GraphicsView if mouse disabled"
This commit is contained in:
commit
b12f9174bc
@ -325,7 +325,6 @@ class GraphicsView(QtGui.QGraphicsView):
|
|||||||
def wheelEvent(self, ev):
|
def wheelEvent(self, ev):
|
||||||
QtGui.QGraphicsView.wheelEvent(self, ev)
|
QtGui.QGraphicsView.wheelEvent(self, ev)
|
||||||
if not self.mouseEnabled:
|
if not self.mouseEnabled:
|
||||||
ev.ignore()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
delta = 0
|
delta = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user