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
ef9c53f930
commit
bafa6e7e8a
|
@ -72,7 +72,8 @@ class Library(Collection):
|
||||||
|
|
||||||
def refresh(self, arg):
|
def refresh(self, arg):
|
||||||
self.clear()
|
self.clear()
|
||||||
self.populate()
|
Collection.populate(self, library.walk)
|
||||||
|
#self.populate()
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
collection.reset()
|
collection.reset()
|
||||||
|
|
Loading…
Reference in New Issue