This fixes the issue where another instance of terminator can overwrite config changes you make. Makes setting up layouts more usable.

This commit is contained in:
Stephen Boddy 2013-08-29 19:43:24 +02:00
parent 0dab69f76f
commit 27555740b3
2 changed files with 6 additions and 0 deletions

View File

@ -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"""

View File

@ -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()