Fix #1368794 [Wrong coloring in Title sort (possibly related to 1367943)](https://bugs.launchpad.net/calibre/+bug/1368794)

This commit is contained in:
Kovid Goyal 2014-09-12 21:25:03 +05:30
parent 98907c9190
commit 0e40a2550e

View File

@ -149,7 +149,7 @@ class TitleSortEdit(TitleEdit):
'No action is required if this is what you want.'))
self.tooltips = (ok_tooltip, bad_tooltip)
self.title_edit.textChanged.connect(self.update_state_and_val)
self.title_edit.textChanged.connect(self.update_state_and_val, type=Qt.QueuedConnection)
self.textChanged.connect(self.update_state)
self.autogen_button = autogen_button