mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
ensure the fact area is focused on addcards
This commit is contained in:
parent
b4a7979157
commit
a07f62b507
1 changed files with 1 additions and 1 deletions
|
|
@ -35,8 +35,8 @@ class AddCards(QDialog):
|
||||||
self.forceClose = False
|
self.forceClose = False
|
||||||
#restoreGeom(self, "add")
|
#restoreGeom(self, "add")
|
||||||
addHook('reset', self.onReset)
|
addHook('reset', self.onReset)
|
||||||
self.setupNewFact()
|
|
||||||
self.open()
|
self.open()
|
||||||
|
self.setupNewFact()
|
||||||
|
|
||||||
def focusOutEvent(self, evt):
|
def focusOutEvent(self, evt):
|
||||||
print "focus lost"
|
print "focus lost"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue