Skip to content
Permalink
Browse files

add default font-family and size to output area in console

fix for help dialog
  • Loading branch information
slarosa committed Oct 30, 2012
1 parent 10178d7 commit 47da0c0700b384e35939dff97349730b919b1660
Showing with 3 additions and 3 deletions.
  1. +1 −1 python/console_help.py
  2. +2 −2 python/console_output.py
@@ -52,5 +52,5 @@ def __init__(self, parent):
lang=" + locale \
+ "&pkgDir=" + qgisDataDir

url = QtCore.QUrl(filename)
url = QUrl(filename)
self.webView.load(url)
@@ -121,8 +121,8 @@ def setLexers(self):
self.lexer = QsciLexerPython()

settings = QSettings()
loadFont = settings.value("pythonConsole/fontfamilytext").toString()
fontSize = settings.value("pythonConsole/fontsize").toInt()[0]
loadFont = settings.value("pythonConsole/fontfamilytext", "Monospace").toString()
fontSize = settings.value("pythonConsole/fontsize", 10).toInt()[0]
font = QFont(loadFont)
font.setFixedPitch(True)
font.setPointSize(fontSize)

0 comments on commit 47da0c0

Please sign in to comment.
You can’t perform that action at this time.