when target add deck changed, switch review deck too (#695)
This commit is contained in:
parent
dcf38f2f10
commit
db262031c3
@ -70,6 +70,9 @@ class DeckChooser(QHBoxLayout):
|
||||
title=_("Choose Deck"), help="addingnotes",
|
||||
cancel=False, parent=self.widget)
|
||||
self.deck.setText(ret.name)
|
||||
deck = self.mw.col.decks.byName(ret.name)
|
||||
self.mw.col.decks.select(deck['id'])
|
||||
self.mw.requireReset()
|
||||
|
||||
def selectedId(self):
|
||||
# save deck name
|
||||
|
Loading…
Reference in New Issue
Block a user