Skip to content

Commit

Permalink
-[bug 949] gnome-terminator#949 its reported in the issue that the sa…
Browse files Browse the repository at this point in the history
…ve button in layout overrides the profile, custom command, working dir. The same does not happen when close button is pressed or pref window is closed. In my observation,I have seem that the profile is overwritten, but custom command and wording dir are updated.

The updation of working dir and custom command when editing without save button seems a bit different but I haven't changed that part for now.

For sake of consistency I have ensured the updatation of profile (which anyways gets updated from drop down menu) but is over written by save button, happens when save button is pressed.
  • Loading branch information
vssdeo committed Dec 11, 2024
1 parent fa89055 commit dea1234
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 @@ -1625,6 +1625,7 @@ def on_layoutrefreshbutton_clicked(self, _button):

self.config.copy_layout_item(config_layout, current_layout, 'directory')
self.config.copy_layout_item(config_layout, current_layout, 'command')
self.config.copy_layout_item(config_layout, current_layout, 'profile')
dbg("updated layout from terminator:(%s)" % current_layout)

if self.config.replace_layout(name, current_layout):
Expand Down

0 comments on commit dea1234

Please sign in to comment.