From 72404b607b51b4e6fcc92a05a3799b8b6cf8f40f Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 20 Jul 2010 20:19:00 +0100 Subject: [PATCH] Make the timer connection queued --- src/calibre/gui2/search_box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/search_box.py b/src/calibre/gui2/search_box.py index 11f2d31e1f..5c4a76b207 100644 --- a/src/calibre/gui2/search_box.py +++ b/src/calibre/gui2/search_box.py @@ -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)