This commit is contained in:
Kovid Goyal 2013-10-30 21:14:03 +05:30
parent 2e5808c9de
commit b637effcb2

View file

@ -1189,7 +1189,7 @@ def dispatch_sync_event(self, dest, delete, specific):
return
if d.format():
fmt = d.format().lower()
dest, sub_dest = dest.split(':')
dest, sub_dest = dest.partition(':')[0::2]
if dest in ('main', 'carda', 'cardb'):
if not self.device_connected or not self.device_manager:
error_dialog(self, _('No device'),