mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
For kiwidude
This commit is contained in:
parent
e5da008e24
commit
9084f0be45
@ -449,12 +449,12 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
self.library_view.model().count_changed()
|
self.library_view.model().count_changed()
|
||||||
prefs['library_path'] = self.library_path
|
prefs['library_path'] = self.library_path
|
||||||
db = self.library_view.model().db
|
db = self.library_view.model().db
|
||||||
for action in self.iactions.values():
|
|
||||||
action.library_changed(db)
|
|
||||||
self.set_window_title()
|
self.set_window_title()
|
||||||
self.apply_named_search_restriction('') # reset restriction to null
|
self.apply_named_search_restriction('') # reset restriction to null
|
||||||
self.saved_searches_changed() # reload the search restrictions combo box
|
self.saved_searches_changed() # reload the search restrictions combo box
|
||||||
self.apply_named_search_restriction(db.prefs['gui_restriction'])
|
self.apply_named_search_restriction(db.prefs['gui_restriction'])
|
||||||
|
for action in self.iactions.values():
|
||||||
|
action.library_changed(db)
|
||||||
if olddb is not None:
|
if olddb is not None:
|
||||||
try:
|
try:
|
||||||
if call_close:
|
if call_close:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user