py3: when shuffling dictionary keys, use an explicit list

This commit is contained in:
Eli Schwartz 2019-04-18 02:02:48 -04:00
parent 71d13c9482
commit 4a615ee09c
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6

View File

@ -207,7 +207,7 @@ class SearchDialog(QDialog, Ui_Dialog):
# there is a search. This way plugins closer # there is a search. This way plugins closer
# to a don't have an unfair advantage over # to a don't have an unfair advantage over
# plugins further from a. # plugins further from a.
store_names = self.store_checks.keys() store_names = list(self.store_checks)
if not store_names: if not store_names:
return return
# Remove all of our internal filtering logic from the query. # Remove all of our internal filtering logic from the query.