For kiwidude

This commit is contained in:
Kovid Goyal 2011-04-10 17:23:12 -06:00
parent e5da008e24
commit 9084f0be45

View File

@ -449,12 +449,12 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
self.library_view.model().count_changed()
prefs['library_path'] = self.library_path
db = self.library_view.model().db
for action in self.iactions.values():
action.library_changed(db)
self.set_window_title()
self.apply_named_search_restriction('') # reset restriction to null
self.saved_searches_changed() # reload the search restrictions combo box
self.apply_named_search_restriction(db.prefs['gui_restriction'])
for action in self.iactions.values():
action.library_changed(db)
if olddb is not None:
try:
if call_close: