mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
set focus on search after downloaded data
This commit is contained in:
parent
c32a230766
commit
96cac67ea6
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ class GetShared(QDialog):
|
||||||
return
|
return
|
||||||
self.parent.finishProgress()
|
self.parent.finishProgress()
|
||||||
self.parent.setProgressParent(None)
|
self.parent.setProgressParent(None)
|
||||||
|
self.form.search.setFocus()
|
||||||
if err:
|
if err:
|
||||||
showInfo(_("Unable to connect to server."), parent=self)
|
showInfo(_("Unable to connect to server."), parent=self)
|
||||||
self.close()
|
self.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue