Apply a edited VL only if it is already the current VL

This commit is contained in:
Charles Haley 2013-04-14 11:52:58 +02:00
parent 2cf5b9e1da
commit 150096e88d

View File

@ -288,6 +288,7 @@ class SearchRestrictionMixin(object):
if editing:
self._remove_vl(editing, reapply=False)
self.add_virtual_library(db, cd.library_name, cd.library_search)
if not editing or editing == db.data.get_base_restriction_name():
self.apply_virtual_library(cd.library_name)
def virtual_library_clicked(self):