fix 319: refresh layout after save

This commit is contained in:
Matt Rose 2020-12-30 15:43:12 -05:00
parent 070803ea75
commit 3c4bbf4881
1 changed files with 1 additions and 0 deletions

View File

@ -1395,6 +1395,7 @@ class PrefsEditor:
if self.config.replace_layout(name, current_layout): if self.config.replace_layout(name, current_layout):
treeview.set_cursor(model.get_path(rowiter), column=treeview.get_column(0), start_editing=False) treeview.set_cursor(model.get_path(rowiter), column=treeview.get_column(0), start_editing=False)
self.config.save() self.config.save()
self.layouteditor.set_layout(name)
def on_layoutremovebutton_clicked(self, _button): def on_layoutremovebutton_clicked(self, _button):
"""Remove a layout from the list""" """Remove a layout from the list"""