diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-30 10:40:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | f97de692e32be50a54a93b75d3686da0495275cb (patch) | |
tree | 45a65ffb90d6c3897cd554f9551082e7466467fc /pkg/gui/status_panel.go | |
parent | 2692637fbeac353d805399dd97714c235f88f303 (diff) |
move helpers into their own struct
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index f79a5e9cd..1b53fc39c 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -130,11 +130,11 @@ func (gui *Gui) askForConfigFile(action func(file string) error) error { } func (gui *Gui) handleOpenConfig() error { - return gui.askForConfigFile(gui.filesHelper.OpenFile) + return gui.askForConfigFile(gui.helpers.files.OpenFile) } func (gui *Gui) handleEditConfig() error { - return gui.askForConfigFile(gui.filesHelper.EditFile) + return gui.askForConfigFile(gui.helpers.files.EditFile) } func lazygitTitle() string { |