mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
Fix #3367 ('QMouseEvent' object has no attribute 'key')
This commit is contained in:
parent
02a53f9064
commit
c1eceec7e7
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ def __init__(self, parent=None):
|
|||
self.connect(self.line_edit, SIGNAL('key_pressed(PyQt_PyObject)'),
|
||||
self.key_pressed, Qt.DirectConnection)
|
||||
self.connect(self.line_edit, SIGNAL('mouse_released(PyQt_PyObject)'),
|
||||
self.key_pressed, Qt.DirectConnection)
|
||||
self.mouse_released, Qt.DirectConnection)
|
||||
self.setEditable(True)
|
||||
self.help_state = True
|
||||
self.as_you_type = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue