mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Fix #3872 (EBook Viewer Bug Prevents Any Actions)
This commit is contained in:
parent
8a0aad39f9
commit
619a4d6e77
@ -130,7 +130,7 @@ class CopyButton(QPushButton):
|
||||
return
|
||||
except:
|
||||
pass
|
||||
return QPushButton.event(self, ev)
|
||||
QPushButton.keyPressEvent(self, ev)
|
||||
|
||||
|
||||
def keyReleaseEvent(self, ev):
|
||||
@ -139,7 +139,7 @@ class CopyButton(QPushButton):
|
||||
return
|
||||
except:
|
||||
pass
|
||||
return QPushButton.event(self, ev)
|
||||
QPushButton.keyReleaseEvent(self, ev)
|
||||
|
||||
def mouseReleaseEvent(self, ev):
|
||||
ev.accept()
|
||||
|
Loading…
x
Reference in New Issue
Block a user