mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
1fda8e97ee
commit
436965bd25
@ -97,6 +97,9 @@ class MetadataWidget(Widget, Ui_Form):
|
|||||||
else:
|
else:
|
||||||
self.cover.setPixmap(QPixmap(I('default_cover.png')))
|
self.cover.setPixmap(QPixmap(I('default_cover.png')))
|
||||||
self.cover.setToolTip(_('This book has no cover'))
|
self.cover.setToolTip(_('This book has no cover'))
|
||||||
|
for x in ('author', 'series', 'publisher'):
|
||||||
|
x = getattr(self, x)
|
||||||
|
x.lineEdit().deselect()
|
||||||
|
|
||||||
def set_cover_tooltip(self, pm):
|
def set_cover_tooltip(self, pm):
|
||||||
tt = _('Cover size: %(width)d x %(height)d pixels') % dict(
|
tt = _('Cover size: %(width)d x %(height)d pixels') % dict(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user