mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit metadata dialog: Fix the author sort field not being marked red initially when the author sort does not match the author due to a Qt 5 behavior change. Fixes #1367943 [Author sort fails sometimes in tag browser](https://bugs.launchpad.net/calibre/+bug/1367943)
This commit is contained in:
parent
3bcac0109a
commit
a88b574c13
@ -339,7 +339,7 @@ class AuthorSortEdit(EnLineEdit):
|
||||
'No action is required if this is what you want.'))
|
||||
self.tooltips = (ok_tooltip, bad_tooltip)
|
||||
|
||||
self.authors_edit.editTextChanged.connect(self.update_state_and_val)
|
||||
self.authors_edit.editTextChanged.connect(self.update_state_and_val, type=Qt.QueuedConnection)
|
||||
self.textChanged.connect(self.update_state)
|
||||
|
||||
self.autogen_button = autogen_button
|
||||
|
Loading…
x
Reference in New Issue
Block a user