mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
show the browser after initial search to prevent flicker
This commit is contained in:
parent
dd57ed693f
commit
33d2da33c0
1 changed files with 1 additions and 1 deletions
|
@ -325,10 +325,10 @@ class Browser(QMainWindow):
|
|||
self.updateFont()
|
||||
self.onUndoState(self.mw.form.actionUndo.isEnabled())
|
||||
self.form.searchEdit.setFocus()
|
||||
self.show()
|
||||
self.form.searchEdit.lineEdit().setText("is:current")
|
||||
self.form.searchEdit.lineEdit().selectAll()
|
||||
self.onSearch()
|
||||
self.show()
|
||||
|
||||
def setupToolbar(self):
|
||||
self.toolbarWeb = AnkiWebView()
|
||||
|
|
Loading…
Reference in a new issue