mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 13:17:12 -05:00
refresh deck list when adding deck via deckchooser
This commit is contained in:
parent
816cec4a58
commit
20da11f57e
1 changed files with 3 additions and 0 deletions
|
|
@ -150,4 +150,7 @@ class StudyDeck(QDialog):
|
|||
self.name = n
|
||||
# make sure we clean up reset hook when manually exiting
|
||||
gui_hooks.state_did_reset.remove(self.onReset)
|
||||
if self.mw.state == "deckBrowser":
|
||||
self.mw.deckBrowser.refresh()
|
||||
gui_hooks.sidebar_should_refresh_decks()
|
||||
QDialog.accept(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue