Fixed some issues, and added font dialog to build tool as well

This commit is contained in:
Veronica K. B. Olsen
2020-05-31 11:17:23 +02:00
parent 1cd7986bfb
commit e5b6d3828e
3 changed files with 33 additions and 16 deletions
+2 -2
View File
@@ -546,8 +546,8 @@ class GuiConfigEditLayoutTab(QWidget):
"""Open the QFontDialog and set a font for the font style.
"""
currFont = QFont()
currFont.setFamily(self.mainConf.guiFont)
currFont.setPointSize(self.mainConf.guiFontSize)
currFont.setFamily(self.mainConf.textFont)
currFont.setPointSize(self.mainConf.textSize)
theFont, theStatus = QFontDialog.getFont(currFont, self)
if theStatus:
self.textStyleFont.setText(theFont.family())