Merge pull request #344 from mattrose/319-refresh-layout

fix 319: refresh layout after save
This commit is contained in:
Matt Rose 2020-12-30 16:08:57 -05:00 committed by GitHub
commit 8be7bfb4a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):
treeview.set_cursor(model.get_path(rowiter), column=treeview.get_column(0), start_editing=False)
self.config.save()
self.layouteditor.set_layout(name)
def on_layoutremovebutton_clicked(self, _button):
"""Remove a layout from the list"""