Skip to content

Commit 2912883

Browse files
committed
prefs: allow any font to be used
We originally had a filter for the font chooser to only allow "monospace" fonts. That filter is too narrow, and it's better to allow the user to have full control, so remove it as suggested in git-cola#525. Closes git-cola#525 Suggested-by: V字龍(Vdragon) <Vdragon.Taiwan@gmail.com> Signed-off-by: David Aguilar <davvid@gmail.com>
1 parent f2bcd70 commit 2912883

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cola/widgets/prefs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def __init__(self, model, parent):
153153
FormWidget.__init__(self, model, parent)
154154

155155
self.fixed_font = QtGui.QFontComboBox()
156-
self.fixed_font.setFontFilters(QtGui.QFontComboBox.MonospacedFonts)
157156

158157
self.font_size = QtGui.QSpinBox()
159158
self.font_size.setMinimum(8)

share/doc/git-cola/relnotes/unreleased.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Usability, bells and whistles
6161

6262
https://github.com/git-cola/git-cola/issues/468
6363

64+
* Any font can now be chosen for the diff editor, not just monospace fonts.
65+
66+
https://github.com/git-cola/git-cola/issues/525
67+
6468
Fixes
6569
-----
6670

0 commit comments

Comments
 (0)