mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Viewer: Fix search shortcut button not focusing search input if the search panel is placed in a tab or a floating window
This commit is contained in:
parent
cf65226e6b
commit
357762c70a
@ -250,6 +250,8 @@ class EbookViewer(MainWindow):
|
|||||||
|
|
||||||
def show_search(self):
|
def show_search(self):
|
||||||
self.search_dock.setVisible(True)
|
self.search_dock.setVisible(True)
|
||||||
|
self.search_dock.activateWindow()
|
||||||
|
self.search_dock.raise_()
|
||||||
self.search_widget.focus_input()
|
self.search_widget.focus_input()
|
||||||
|
|
||||||
def start_search(self, search_query):
|
def start_search(self, search_query):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user