mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make placeholder text for go to ref more explicit
This commit is contained in:
parent
ab2efe9c3b
commit
0d8113aa93
@ -51,7 +51,7 @@ class Reference(QLineEdit): # {{{
|
|||||||
'Go to a reference. To get reference numbers, use the <i>reference '
|
'Go to a reference. To get reference numbers, use the <i>reference '
|
||||||
'mode</i>, by clicking the reference mode button in the toolbar.')))
|
'mode</i>, by clicking the reference mode button in the toolbar.')))
|
||||||
if hasattr(self, 'setPlaceholderText'):
|
if hasattr(self, 'setPlaceholderText'):
|
||||||
self.setPlaceholderText(_('Go to...'))
|
self.setPlaceholderText(_('Go to a reference number...'))
|
||||||
self.editingFinished.connect(self.editing_finished)
|
self.editingFinished.connect(self.editing_finished)
|
||||||
|
|
||||||
def editing_finished(self):
|
def editing_finished(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user