Quote:
Originally Posted by chaley
Nope. Check_library will change the value of db (closing and re-opening) without calling change_library.
|
check_library was refactored a while ago to call library_changed after it completes (see actions/choose_library.py).
However, I would encourage you to not hold references to the db unnecessarily. Calling self.gui.library_view.model().db is fast enough that as long as you dont have it in an inner loop you wont see any practical performance implications.