mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix filter area not starting focused on Qt 6.6.1
https://forums.ankiweb.net/t/dialog-windows-no-longer-focus-inputbox/37880
This commit is contained in:
parent
574f6a696d
commit
07017a4a8e
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ class StudyDeck(QDialog):
|
|||
qconnect(self.form.filter.textEdited, self.redraw)
|
||||
qconnect(self.form.list.itemDoubleClicked, self.accept)
|
||||
qconnect(self.finished, self.on_finished)
|
||||
self.form.filter.setFocus()
|
||||
self.show()
|
||||
# redraw after show so position at center correct
|
||||
self.redraw("", current)
|
||||
|
|
|
|||
Loading…
Reference in a new issue