mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #2020854 [local variable 'd' referenced before assignment calibre 6.18](https://bugs.launchpad.net/calibre/+bug/2020854)
This commit is contained in:
parent
dab71f54e3
commit
a4464ef292
@ -231,6 +231,7 @@ class CoverFlow(pictureflow.PictureFlow):
|
||||
return self.minimumSize()
|
||||
|
||||
def wheelEvent(self, ev):
|
||||
d = 0
|
||||
if ev.angleDelta().x():
|
||||
d = ev.angleDelta().x()
|
||||
if ev.angleDelta().y():
|
||||
|
Loading…
x
Reference in New Issue
Block a user