mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3367 ('QMouseEvent' object has no attribute 'key')
This commit is contained in:
parent
02a53f9064
commit
c1eceec7e7
@ -41,7 +41,7 @@ class SearchBox2(QComboBox):
|
||||
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…
x
Reference in New Issue
Block a user