mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Bug 2041357] Editing non-active VL changes sort of book list.
This behavior has been there for years.
This commit is contained in:
parent
5eb17a8199
commit
cb332c6ecf
@ -369,7 +369,7 @@ class SearchRestrictionMixin:
|
||||
virt_libs[name] = search
|
||||
db.new_api.set_pref('virtual_libraries', virt_libs)
|
||||
db.new_api.clear_search_caches()
|
||||
self.library_view.model().db.refresh()
|
||||
self.library_view.model().refresh()
|
||||
|
||||
def do_create_edit(self, name=None):
|
||||
db = self.library_view.model().db
|
||||
@ -514,7 +514,7 @@ class SearchRestrictionMixin:
|
||||
'confirm_vl_removal', parent=self):
|
||||
return
|
||||
self._remove_vl(name, reapply=True)
|
||||
self.library_view.model().db.refresh()
|
||||
self.library_view.model().refresh()
|
||||
|
||||
def choose_vl_triggerred(self):
|
||||
from calibre.gui2.tweak_book.widgets import QuickOpen, emphasis_style
|
||||
|
Loading…
x
Reference in New Issue
Block a user