This commit is contained in:
Kovid Goyal 2024-12-29 18:12:19 +05:30
parent 4f17773c42
commit 37f884a1f2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1658,6 +1658,7 @@ class BooksView(QTableView): # {{{
if index.isValid(): if index.isValid():
self.setCurrentIndex(index) self.setCurrentIndex(index)
self.edit(index) self.edit(index)
# This is needed for https://bugs.launchpad.net/calibre/+bug/2092643
self._model.current_changed(index, None) self._model.current_changed(index, None)
QTimer.singleShot(0, edit) QTimer.singleShot(0, edit)
return ans return ans