mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
reset conf after edit current
This commit is contained in:
parent
27f08a463a
commit
dd0a6563e7
2 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,8 @@ class EditCurrent(QDialog):
|
|||
r = self.mw.reviewer
|
||||
r.card.load()
|
||||
r.keep = True
|
||||
# we don't need to reset the deck, but there may be new groups
|
||||
self.mw.deck.sched._resetConf()
|
||||
self.mw.moveToState("review")
|
||||
saveGeom(self, "editcurrent")
|
||||
self.close()
|
||||
|
|
|
@ -27,6 +27,9 @@ config = aqt.config
|
|||
|
||||
## fixme: open plugin folder broken on win32?
|
||||
|
||||
## fixme: new deck, cloze & cardlayout, gets stuck in resetRequired state
|
||||
## models remembering the previous group
|
||||
|
||||
class AnkiQt(QMainWindow):
|
||||
def __init__(self, app, config, args, splash):
|
||||
QMainWindow.__init__(self)
|
||||
|
|
Loading…
Reference in a new issue