mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
...
This commit is contained in:
parent
631c5a414c
commit
e3aa9e0c0d
1 changed files with 2 additions and 0 deletions
|
|
@ -370,6 +370,8 @@ def hide_panel(self):
|
|||
def show_panel(self):
|
||||
self.setVisible(True)
|
||||
self.widget.find_text.setFocus(Qt.OtherFocusReason)
|
||||
le = self.widget.find_text.lineEdit()
|
||||
le.setSelection(0, le.maxLength())
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue