mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
remove invalid ref to editFontSize
This commit is contained in:
parent
b3b5a41751
commit
c7c6204cf8
1 changed files with 1 additions and 3 deletions
|
@ -66,9 +66,7 @@ class DataModel(QAbstractTableModel):
|
|||
if not index.isValid():
|
||||
return
|
||||
if role == Qt.FontRole:
|
||||
f = QFont()
|
||||
f.setPixelSize(self.browser.mw.pm.profile['editFontSize'])
|
||||
return f
|
||||
return
|
||||
if role == Qt.TextAlignmentRole:
|
||||
align = Qt.AlignVCenter
|
||||
if self.activeCols[index.column()] not in ("question", "answer",
|
||||
|
|
Loading…
Reference in a new issue