mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32: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():
|
if not index.isValid():
|
||||||
return
|
return
|
||||||
if role == Qt.FontRole:
|
if role == Qt.FontRole:
|
||||||
f = QFont()
|
return
|
||||||
f.setPixelSize(self.browser.mw.pm.profile['editFontSize'])
|
|
||||||
return f
|
|
||||||
if role == Qt.TextAlignmentRole:
|
if role == Qt.TextAlignmentRole:
|
||||||
align = Qt.AlignVCenter
|
align = Qt.AlignVCenter
|
||||||
if self.activeCols[index.column()] not in ("question", "answer",
|
if self.activeCols[index.column()] not in ("question", "answer",
|
||||||
|
|
Loading…
Reference in a new issue