This commit is contained in:
Kovid Goyal 2012-07-19 23:32:19 +05:30
parent 39a9c59bae
commit a1790819d0

View File

@ -934,6 +934,11 @@ class DeviceMixin(object): # {{{
fmt = None
if specific:
if (not self.device_connected or not self.device_manager or
self.device_manager.device is None):
error_dialog(self, _('No device'),
_('No device connected'), show=True)
return
formats = []
aval_out_formats = available_output_formats()
format_count = {}