Skip to content

Commit

Permalink
Merge pull request #344 from mattrose/319-refresh-layout
Browse files Browse the repository at this point in the history
fix 319: refresh layout after save
  • Loading branch information
mattrose authored Dec 30, 2020
2 parents 070803e + 3c4bbf4 commit 8be7bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terminatorlib/prefseditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,7 @@ def on_layoutrefreshbutton_clicked(self, _button):
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"""
Expand Down

0 comments on commit 8be7bfb

Please sign in to comment.