mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix preference to 'search as you type' not working
This commit is contained in:
parent
1973540efa
commit
08a06f5d26
@ -146,7 +146,8 @@ class SearchBox2(QComboBox):
|
||||
self._in_a_search = False
|
||||
if event.key() in (Qt.Key_Return, Qt.Key_Enter):
|
||||
self.do_search()
|
||||
self.timer.start(1500)
|
||||
if self.as_you_type:
|
||||
self.timer.start(1500)
|
||||
|
||||
def mouse_released(self, event):
|
||||
self.normalize_state()
|
||||
|
Loading…
x
Reference in New Issue
Block a user