mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2000039 [GridView' object has no attribute 'handle_mouse_release_event'](https://bugs.launchpad.net/calibre/+bug/2000039)
This commit is contained in:
parent
e9e19fe6de
commit
87da4098f5
@ -120,7 +120,7 @@ def mousePressEvent(self, event):
|
||||
|
||||
|
||||
def mouseReleaseEvent(self, event):
|
||||
if hasattr(self, 'handle_mouse_press_event'):
|
||||
if hasattr(self, 'handle_mouse_release_event'):
|
||||
return self.handle_mouse_release_event(event)
|
||||
return qt_item_view_base_class(self).mouseReleaseEvent(self, event)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user