Skip to content

Commit

Permalink
Merge branch 'anandsudhir-fix-todo-open-file'
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cummer committed Jul 27, 2018
2 parents c705297 + 455fcff commit dca644d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion todo/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
return nil
case "o":
// Open the file
wtf.OpenFile(widget.filePath)
confDir, _ := cfg.ConfigDir()
wtf.OpenFile(fmt.Sprintf("%s/%s", confDir, widget.filePath))
return nil
}

Expand Down

0 comments on commit dca644d

Please sign in to comment.