mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
close other windows on reset()
This commit is contained in:
parent
5421029176
commit
28ab40e41c
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ class AnkiQt(QMainWindow):
|
||||||
self.viewsBackup = None
|
self.viewsBackup = None
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
|
ui.dialogs.closeAll()
|
||||||
if self.deck:
|
if self.deck:
|
||||||
self.deck.refresh()
|
self.deck.refresh()
|
||||||
self.deck.updateAllPriorities()
|
self.deck.updateAllPriorities()
|
||||||
|
|
Loading…
Reference in a new issue