mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
set CardLayout fill_empty=False for add cards editor
Card layout view functions as a previewer in add cards dialog so displaying accurately is more important than having placeholders. Especially for card layouts using conditional-not fields {{^Field}} card layout is rendered badly.
This commit is contained in:
parent
f00f7f099f
commit
f3db3fa768
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ $editorToolbar.then(({{ toolbar }}) => toolbar.appendGroup({{
|
|||
self.note,
|
||||
ord=ord,
|
||||
parent=self.parentWindow,
|
||||
fill_empty=self.addMode,
|
||||
fill_empty=False,
|
||||
)
|
||||
if isWin:
|
||||
self.parentWindow.activateWindow()
|
||||
|
|
Loading…
Reference in a new issue