mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix default deck being shown in deck options deck prompt
This commit is contained in:
parent
f06ebb9ea3
commit
79cf49f38d
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def confirm_deck_then_display_options(active_card: Optional[Card] = None) -> Non
|
|||
decks.append(aqt.mw.col.decks.get(card.odid))
|
||||
|
||||
if not any(d["id"] == card.did for d in decks):
|
||||
decks.append(aqt.mw.col.decks.get(card.odid))
|
||||
decks.append(aqt.mw.col.decks.get(card.did))
|
||||
|
||||
if len(decks) == 1:
|
||||
display_options_for_deck(decks[0])
|
||||
|
|
Loading…
Reference in a new issue