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
|
@ -621,6 +621,11 @@ class ConfigBase(Borg):
|
|||
|
||||
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"""
|
||||
dbg('ConfigBase::save: saving config')
|
||||
|
|
|
@ -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