diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-12 10:55:10 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-12 11:17:20 +1100 |
commit | bd79c2e8dcf66fbc70239572ee0da4bf8849f824 (patch) | |
tree | 4cb91663f69813f618eeb356c040e0760bba7b0e /pkg/gui/files_panel.go | |
parent | 23bcc191802eb1442f8edd0123051769ea9e978b (diff) |
keep track of current view when pushing
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 47e7bae1f..a923d56e6 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -457,7 +457,7 @@ func (gui *Gui) pushFiles(g *gocui.Gui, v *gocui.View) error { } else if pullables == "0" { return gui.pushWithForceFlag(g, v, false, "") } - return gui.createConfirmationPanel(g, nil, true, gui.Tr.SLocalize("ForcePush"), gui.Tr.SLocalize("ForcePushPrompt"), func(g *gocui.Gui, v *gocui.View) error { + return gui.createConfirmationPanel(g, v, true, gui.Tr.SLocalize("ForcePush"), gui.Tr.SLocalize("ForcePushPrompt"), func(g *gocui.Gui, v *gocui.View) error { return gui.pushWithForceFlag(g, v, true, "") }, nil) } |