mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix browser appearance defaults
https://forums.ankiweb.net/t/small-bug-in-the-browser-appearance-window/7806
This commit is contained in:
parent
bfd452c120
commit
d666b7e5b0
1 changed files with 2 additions and 2 deletions
|
@ -700,8 +700,8 @@ class CardLayout(QDialog):
|
||||||
f.afmt.setText(t.get("bafmt", ""))
|
f.afmt.setText(t.get("bafmt", ""))
|
||||||
if t.get("bfont"):
|
if t.get("bfont"):
|
||||||
f.overrideFont.setChecked(True)
|
f.overrideFont.setChecked(True)
|
||||||
f.font.setCurrentFont(QFont(t.get("bfont", "Arial")))
|
f.font.setCurrentFont(QFont(t.get("bfont") or "Arial"))
|
||||||
f.fontSize.setValue(t.get("bsize", 12))
|
f.fontSize.setValue(t.get("bsize") or 12)
|
||||||
qconnect(f.buttonBox.accepted, lambda: self.onBrowserDisplayOk(f))
|
qconnect(f.buttonBox.accepted, lambda: self.onBrowserDisplayOk(f))
|
||||||
d.exec_()
|
d.exec_()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue