mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
32bcac2147
commit
775c63bd39
@ -152,7 +152,8 @@ class DeleteAction(InterfaceAction):
|
|||||||
if not ids:
|
if not ids:
|
||||||
return
|
return
|
||||||
fmts = self._get_selected_formats(
|
fmts = self._get_selected_formats(
|
||||||
'<p>'+_('Choose formats <b>not</b> to be deleted'), ids)
|
'<p>'+_('Choose formats <b>not</b> to be deleted.<p>Note that '
|
||||||
|
'this will never remove all formats from a book.'), ids)
|
||||||
if fmts is None:
|
if fmts is None:
|
||||||
return
|
return
|
||||||
for id in ids:
|
for id in ids:
|
||||||
|
@ -44,7 +44,7 @@ class SelectFormats(QDialog):
|
|||||||
self.setLayout(self._l)
|
self.setLayout(self._l)
|
||||||
self.setWindowTitle(_('Choose formats'))
|
self.setWindowTitle(_('Choose formats'))
|
||||||
self._m = QLabel(msg)
|
self._m = QLabel(msg)
|
||||||
self._m.setWordWrap = True
|
self._m.setWordWrap(True)
|
||||||
self._l.addWidget(self._m)
|
self._l.addWidget(self._m)
|
||||||
self.formats = Formats(fmt_list)
|
self.formats = Formats(fmt_list)
|
||||||
self.fview = QListView(self)
|
self.fview = QListView(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user