Skip to content

Commit

Permalink
Enforce a default font in case one is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Jun 9, 2011
1 parent 6439246 commit 1b89765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rockmeter.py
Expand Up @@ -757,7 +757,7 @@ def loadLayerFX(self, layer, section):

def createFont(self, section, number):

font = self.get("font")
font = self.get("font", str, "font")
layer = FontLayer(self, section, font)

layer.text = self.getexpr("text")
Expand Down

0 comments on commit 1b89765

Please sign in to comment.