Fix #1878992 [[Enhancement - Virtual library] Select and deselect entries by clicking when creating a Virtual library based on a category](https://bugs.launchpad.net/calibre/+bug/1878992)

This commit is contained in:
Kovid Goyal 2020-05-16 16:34:01 +05:30
parent 41db0eb6e3
commit 47f3283ab1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -32,7 +32,7 @@ class SelectNames(QDialog): # {{{
self._names = QListWidget(self) self._names = QListWidget(self)
self._names.addItems(sorted(names, key=sort_key)) self._names.addItems(sorted(names, key=sort_key))
self._names.setSelectionMode(self._names.ExtendedSelection) self._names.setSelectionMode(self._names.MultiSelection)
l.addWidget(self._names) l.addWidget(self._names)
self._or = QRadioButton(_('Match any of the selected %s')%txt) self._or = QRadioButton(_('Match any of the selected %s')%txt)