summaryrefslogtreecommitdiffstats
path: root/pkg/gui/files_panel.go
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-10-27 16:29:16 +0200
committermjarkk <mkopenga@gmail.com>2018-10-27 16:29:16 +0200
commit9a99748d3b1bb6c1b3e5905feb3acb17f2fea6d9 (patch)
tree79fa6f9f6f00f945be4ce89f9ce15597f95103b7 /pkg/gui/files_panel.go
parent916311064059aafd13f44f7e2145b87f7e529cba (diff)
Fixed bug where username input didn't go away
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r--pkg/gui/files_panel.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go
index ac5a8412e..5c957d217 100644
--- a/pkg/gui/files_panel.go
+++ b/pkg/gui/files_panel.go
@@ -365,6 +365,7 @@ func (gui *Gui) pushWithForceFlag(g *gocui.Gui, currentView *gocui.View, force b
return gui.waitForPassUname(g, currentView, passOrUname)
})
_, _ = g.SetViewOnBottom("pushPassUname")
+ _ = g.DeleteView("pushPassUname")
if err != nil {
errMessage := err.Error()
if errMessage == "exit status 128" {