mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
commit
39797be6fe
@ -84,7 +84,7 @@ class SearchBox2(QComboBox):
|
|||||||
self.prev_search = ''
|
self.prev_search = ''
|
||||||
self.timer = QTimer()
|
self.timer = QTimer()
|
||||||
self.timer.setSingleShot(True)
|
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.setInsertPolicy(self.NoInsert)
|
||||||
self.setMaxCount(self.MAX_COUNT)
|
self.setMaxCount(self.MAX_COUNT)
|
||||||
self.setSizeAdjustPolicy(self.AdjustToMinimumContentsLengthWithIcon)
|
self.setSizeAdjustPolicy(self.AdjustToMinimumContentsLengthWithIcon)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user