Don't reload when refreshed
Lists should not be reloaded when they are refreshed. Instead, use everything already in memory.
This commit is contained in:
parent
78b445793a
commit
8328a83dcd
|
@ -72,7 +72,8 @@ class Library(Collection):
|
|||
|
||||
def refresh(self, arg):
|
||||
self.clear()
|
||||
self.populate()
|
||||
Collection.populate(self, library.walk)
|
||||
#self.populate()
|
||||
|
||||
def reset(self):
|
||||
collection.reset()
|
||||
|
|
Loading…
Reference in New Issue
Block a user