From bafa6e7e8a8a561c7b556fdf6e7f41238d432302 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Tue, 9 Nov 2010 13:57:24 -0500 Subject: [PATCH] Don't reload when refreshed Lists should not be reloaded when they are refreshed. Instead, use everything already in memory. --- ocarina/collection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ocarina/collection.py b/ocarina/collection.py index 55c437f8..f2452f09 100644 --- a/ocarina/collection.py +++ b/ocarina/collection.py @@ -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()