Preserve the set of selected books in the library view when a device is connected

This commit is contained in:
Kovid Goyal 2011-10-26 09:57:27 +05:30
parent 90bec1f133
commit f86b414c47

View File

@ -855,6 +855,7 @@ class DeviceMixin(object): # {{{
Force the library view to refresh, taking into consideration new
device books information
'''
with self.library_view.preserve_selected_books:
self.book_on_device(None, reset=True)
if reset_only:
return