fix 319: refresh layout after save
This commit is contained in:
parent
070803ea75
commit
3c4bbf4881
|
@ -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"""
|
||||||
|
|
Loading…
Reference in New Issue