Link culling to scrolling

This commit is contained in:
BasioMeusPuga
2018-01-09 23:09:05 +05:30
parent 33ff95e82d
commit 90b0ea58a1
2 changed files with 6 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ class Library:
self.proxy_model.setSortRole(
QtCore.Qt.UserRole + self.parent.libraryToolBar.sortingBox.currentIndex())
self.proxy_model.sort(0)
self.parent.culling_timer.start(100)
self.parent.start_culling_timer()
def prune_models(self, valid_paths):
# To be executed when the library is updated by folder