This commit is contained in:
Kovid Goyal 2010-09-16 09:09:18 -06:00
commit 99710f1c00

View File

@ -1230,7 +1230,7 @@ class DeviceMixin(object): # {{{
self.location_manager.update_devices(cp, fs,
self.device_manager.device.icon)
# reset the views so that up-to-date info is shown. These need to be
# here because the sony driver updates collections in sync_booklists
# here because some drivers update collections in sync_booklists
self.memory_view.reset()
self.card_a_view.reset()
self.card_b_view.reset()
@ -1470,6 +1470,7 @@ class DeviceMixin(object): # {{{
if update_metadata:
if self.device_manager.is_device_connected:
self.device_manager.sync_booklists(None, booklists)
self.device_manager.sync_booklists(
Dispatcher(self.metadata_synced), booklists)
# }}}