summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/worktrees_controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/worktrees_controller.go')
-rw-r--r--pkg/gui/controllers/worktrees_controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/worktrees_controller.go b/pkg/gui/controllers/worktrees_controller.go
index 52b76546e..c38a679da 100644
--- a/pkg/gui/controllers/worktrees_controller.go
+++ b/pkg/gui/controllers/worktrees_controller.go
@@ -116,7 +116,7 @@ func (self *WorktreesController) enter(worktree *models.Worktree) error {
}
func (self *WorktreesController) open(worktree *models.Worktree) error {
- return self.c.Helpers().Files.OpenFile(worktree.Path)
+ return self.c.Helpers().Files.OpenDirInEditor(worktree.Path)
}
func (self *WorktreesController) checkSelected(callback func(worktree *models.Worktree) error) func() error {