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/patch_options_panel.go | |
parent | 2692637fbeac353d805399dd97714c235f88f303 (diff) |
move helpers into their own struct
Diffstat (limited to 'pkg/gui/patch_options_panel.go')
-rw-r--r-- | pkg/gui/patch_options_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/patch_options_panel.go b/pkg/gui/patch_options_panel.go index e28e7b26d..1ae0693f1 100644 --- a/pkg/gui/patch_options_panel.go +++ b/pkg/gui/patch_options_panel.go @@ -141,7 +141,7 @@ func (gui *Gui) handleMovePatchIntoWorkingTree() error { }) } - if gui.workingTreeHelper.IsWorkingTreeDirty() { + if gui.helpers.workingTree.IsWorkingTreeDirty() { return gui.c.Ask(types.AskOpts{ Title: gui.c.Tr.MustStashTitle, Prompt: gui.c.Tr.MustStashWarning, |