mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't set deck button text for cloze
This commit is contained in:
parent
a2840f8ab7
commit
08e8e6ac28
1 changed files with 5 additions and 4 deletions
|
@ -185,6 +185,7 @@ Please create a new card type first."""))
|
|||
self.tab['tform'].front.setPlainText(t['qfmt'])
|
||||
self.tab['tform'].css.setPlainText(self.model['css'])
|
||||
self.tab['tform'].back.setPlainText(t['afmt'])
|
||||
if self.model['type'] != MODEL_CLOZE:
|
||||
if t['did']:
|
||||
self.deckButton.setText("Specific Deck...")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue