Commit ea6eec47 authored by Guillaume Seguin's avatar Guillaume Seguin

Arg, settings stuff overrides empty values. Let's use "auto" instead

parent d2c97fba
......@@ -325,7 +325,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
wx.CallAfter(self.Destroy)
def _get_bgcolor(self):
if self.settings.bgcolor:
if self.settings.bgcolor != "auto":
return self.settings.bgcolor
else:
return wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWFRAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment