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:
parent
0dab69f76f
commit
27555740b3
|
@ -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"""
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue