mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Make the timer connection queued
This commit is contained in:
parent
90a89ca7a6
commit
72404b607b
@ -84,7 +84,7 @@ class SearchBox2(QComboBox):
|
||||
self.prev_search = ''
|
||||
self.timer = QTimer()
|
||||
self.timer.setSingleShot(True)
|
||||
self.timer.timeout.connect(self.timer_event)
|
||||
self.timer.timeout.connect(self.timer_event, Qt.QueuedConnection)
|
||||
self.setInsertPolicy(self.NoInsert)
|
||||
self.setMaxCount(self.MAX_COUNT)
|
||||
self.setSizeAdjustPolicy(self.AdjustToMinimumContentsLengthWithIcon)
|
||||
|
Loading…
x
Reference in New Issue
Block a user