diff --git a/terminatorlib/config.py b/terminatorlib/config.py index b1feaf10..f122287a 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -620,6 +620,11 @@ class ConfigBase(Borg): section_name) self.loaded = True + + def reload(self): + """Force a reload of the base config""" + self.loaded = False + self.load() def save(self): """Save the config to a file""" diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index a5f09c49..bbc063b7 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -149,6 +149,7 @@ class PrefsEditor: def __init__ (self, term): self.config = config.Config() + self.config.base.reload() self.term = term self.builder = gtk.Builder() self.keybindings = Keybindings()