From e7c297277f17c596e27c242a2649f3f5adbd77ad Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 18 Mar 2010 23:11:18 +0000 Subject: [PATCH] Save the config when adding or removing layouts --- terminatorlib/prefseditor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 74d4b52f..918f5316 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -742,6 +742,8 @@ class PrefsEditor: treeview.set_cursor(path, focus_column=treeview.get_column(0), start_editing=True) + self.config.save() + def on_layoutremovebutton_clicked(self, _button): """Remove a layout from the list""" guiget = self.builder.get_object @@ -759,6 +761,7 @@ class PrefsEditor: self.config.del_layout(layout) model.remove(rowiter) selection.select_iter(model.get_iter_first()) + self.config.save() def on_use_custom_command_checkbutton_toggled(self, checkbox): """Toggling the use_custom_command checkbox needs to alter the