Fixed variables flipped around to resolve #281 (#311)

This commit is contained in:
Noah Saso 2020-05-13 15:25:29 -07:00 committed by GitHub
parent 9d7996d7fd
commit 7901542431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1054,7 +1054,7 @@ class ConfigDialog(QtWidgets.QDialog):
font.setPointSize(self.config[configName + "RelativeFontSize"])
font.setWeight(self.config[configName + "FontWeight"])
font.setUnderline(self.config[configName + "FontUnderline"])
value, ok = QtWidgets.QFontDialog.getFont(font)
ok, value = QtWidgets.QFontDialog.getFont(font)
if ok:
self.config[configName + "FontFamily"] = value.family()
self.config[configName + "RelativeFontSize"] = value.pointSize()