mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 15:47:12 -05:00
add missing px to add field
This commit is contained in:
parent
ce2a20bd43
commit
1e743dd13b
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ Enter deck to place new %s cards in, or leave blank:""") %
|
|||
|
||||
def _addField(self, widg, field, font, size):
|
||||
t = widg.toPlainText()
|
||||
t +="\n<div style='font-family: %s; font-size: %s;'>{{%s}}</div>\n" % (
|
||||
t +="\n<div style='font-family: %s; font-size: %spx;'>{{%s}}</div>\n" % (
|
||||
font, size, field)
|
||||
widg.setPlainText(t)
|
||||
self.saveCard()
|
||||
|
|
|
|||
Loading…
Reference in a new issue