mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #8634 (Send to Device problem)
This commit is contained in:
parent
b76c4e6634
commit
be03fdbb5c
@ -7,7 +7,7 @@ import os, traceback, Queue, time, cStringIO, re, sys
|
||||
from threading import Thread
|
||||
|
||||
from PyQt4.Qt import QMenu, QAction, QActionGroup, QIcon, SIGNAL, \
|
||||
Qt, pyqtSignal, QDialog, QMessageBox
|
||||
Qt, pyqtSignal, QDialog
|
||||
|
||||
from calibre.customize.ui import available_input_formats, available_output_formats, \
|
||||
device_plugins
|
||||
@ -609,10 +609,8 @@ class DeviceMixin(object): # {{{
|
||||
autos = u'\n'.join(map(unicode, map(force_unicode, autos)))
|
||||
return self.ask_a_yes_no_question(
|
||||
_('No suitable formats'), msg,
|
||||
buttons=QMessageBox.Yes|QMessageBox.Cancel,
|
||||
ans_when_user_unavailable=True,
|
||||
det_msg=autos,
|
||||
show_copy_button=False
|
||||
det_msg=autos
|
||||
)
|
||||
|
||||
def set_default_thumbnail(self, height):
|
||||
|
Loading…
x
Reference in New Issue
Block a user