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:
bluegreenmagick 2021-09-20 18:34:49 +09:00
parent f00f7f099f
commit f3db3fa768

View file

@ -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()