Fix a regression that broke wheel scrolling in the image viewer

This commit is contained in:
Kovid Goyal 2022-05-24 19:44:29 +05:30
parent d5c83e5721
commit 4fc4655ee0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -105,6 +105,8 @@ class ScrollArea(QScrollArea):
self.zoom_requested.emit(self.current_wheel_angle_delta < 0)
self.current_wheel_angle_delta = 0
ev.accept()
else:
super().wheelEvent(ev)
class ImageView(QDialog):