refresh deck list when adding deck via deckchooser
This commit is contained in:
parent
816cec4a58
commit
20da11f57e
@ -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 New Issue
Block a user