Fix #2019101 [MDE: Inaccurate tooltip for 'Paste' button](https://bugs.launchpad.net/calibre/+bug/2019101)

This commit is contained in:
Kovid Goyal 2023-05-19 07:19:30 +05:30
parent 04fa47ddaf
commit c574efa808
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -252,8 +252,8 @@ class MetadataSingleDialogBase(QDialog):
self.paste_isbn_button = b = RightClickButton(self) self.paste_isbn_button = b = RightClickButton(self)
b.setToolTip('<p>' + b.setToolTip('<p>' +
_('Paste the contents of the clipboard into the ' _('Paste the contents of the clipboard into the '
'identifiers prefixed with isbn: or url:. Or right click, ' 'identifiers prefixed with an auto-detected prefix such as isbn: or url:. Or right click, '
'to choose a different prefix.') + '</p>') 'and choose a specific prefix to use.') + '</p>')
b.setIcon(QIcon.ic('edit-paste.png')) b.setIcon(QIcon.ic('edit-paste.png'))
b.clicked.connect(self.identifiers.paste_identifier) b.clicked.connect(self.identifiers.paste_identifier)
b.setPopupMode(QToolButton.ToolButtonPopupMode.DelayedPopup) b.setPopupMode(QToolButton.ToolButtonPopupMode.DelayedPopup)