Skip to content

Commit

Permalink
[bug 760] 760-working-directory-feature-is-broken gnome-terminator#760
Browse files Browse the repository at this point in the history
-added home dir ~ expansion to UI in prefs also
  • Loading branch information
vssdeo committed Sep 17, 2023
1 parent 1d36d34 commit a301e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminatorlib/prefseditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,7 @@ def on_layout_profile_command_activate(self, widget):

def on_layout_profile_workingdir_activate(self, widget):
"""A new working directory has been entered for this item"""
workdir = widget.get_text()
workdir = os.path.expanduser(widget.get_text())
layout = self.config.layout_get_config(self.layout_name)
layout[self.layout_item]['directory'] = workdir
self.config.save()
Expand Down

0 comments on commit a301e3e

Please sign in to comment.