mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
E-book viewer: Ensure that current position is always visible
This commit is contained in:
parent
d5b4f4c36f
commit
7e78d7bc8e
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ def __init__(self, pathtoebook=None, debug_javascript=False):
|
|||
self.pos.setToolTip(_('Position in book'))
|
||||
self.pos.setSuffix('/'+_('Unknown')+' ')
|
||||
self.pos.setMinimum(1.)
|
||||
self.pos.setMinimumWidth(150)
|
||||
self.tool_bar2.insertWidget(self.action_find_next, self.pos)
|
||||
self.reference = HelpfulLineEdit()
|
||||
self.reference.setValidator(QRegExpValidator(QRegExp(r'\d+\.\d+'), self.reference))
|
||||
|
|
|
|||
Loading…
Reference in a new issue