Quote:
Originally Posted by chaley
Nope. Check_library will change the value of db (closing and re-opening) without calling change_library.
You can cache the value of self.gui.library_view.model(). I can't think of any instance where the library_view is replaced.
|
Hehe, ok that is good to know. I was trying to hold a .db reference within my cache class but in hindsight that is clearly a very bad idea. Good to know these things *before* releasing a plugin and trashing databases