Web search for selection

Bugfixes
This commit is contained in:
BasioMeusPuga
2018-04-11 01:43:21 +05:30
parent 528c2e387c
commit c7aa0e28ee
10 changed files with 8700 additions and 4407 deletions

View File

@@ -234,7 +234,8 @@ class Library:
# Sorting according to roles and the drop down in the library toolbar
self.itemProxyModel.setSortRole(
QtCore.Qt.UserRole + sort_roles[self.main_window.libraryToolBar.sortingBox.currentIndex()])
QtCore.Qt.UserRole +
sort_roles[self.main_window.libraryToolBar.sortingBox.currentIndex()])
# This can be expanded to other fields by appending to the list
sort_order = QtCore.Qt.AscendingOrder