Merge branch 'bookstore-chooser-fix' of https://github.com/qykth-git/calibre

This commit is contained in:
Kovid Goyal 2024-02-19 18:41:13 +05:30
commit 50ac6aa71c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -13,8 +13,8 @@ from calibre.gui2.store.config.chooser.models import Matches, Delegate
class ResultsView(QTreeView):
def __init__(self, *args):
QTreeView.__init__(self,*args)
def __init__(self, parent=None):
QTreeView.__init__(self,parent)
self._model = Matches([p for p in store_plugins()])
self.setModel(self._model)