mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
631c5a414c
commit
e3aa9e0c0d
@ -370,6 +370,8 @@ class SearchPanel(QWidget): # {{{
|
||||
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…
x
Reference in New Issue
Block a user