Merge pull request #667 from BlueGreenMagick/refresh-deck-list
refresh deck list when adding deck via deckchooser
This commit is contained in:
commit
2845941a28
@ -151,4 +151,7 @@ class StudyDeck(QDialog):
|
||||
self.name = self.mw.col.decks.name(did)
|
||||
# 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