summaryrefslogtreecommitdiffstats
path: root/pkg/gui/credentials_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-11 21:29:18 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-12 18:47:16 +1000
commitf49e4946f24961a71afcd7ab840fc2570fe97c1d (patch)
tree06ad00f8410a37767aaef05eeaad99c61516f42b /pkg/gui/credentials_panel.go
parent8ff74072f89e5ad92a6b1c5c7314b99ac5485d64 (diff)
minor refactor
Diffstat (limited to 'pkg/gui/credentials_panel.go')
-rw-r--r--pkg/gui/credentials_panel.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/credentials_panel.go b/pkg/gui/credentials_panel.go
index 905ce0197..593b24433 100644
--- a/pkg/gui/credentials_panel.go
+++ b/pkg/gui/credentials_panel.go
@@ -86,5 +86,7 @@ func (gui *Gui) HandleCredentialsPopup(cmdErr error) {
}
// we are not logging this error because it may contain a password
_ = gui.createSpecificErrorPanel(errMessage, gui.getFilesView(), false)
+ } else {
+ _ = gui.closeConfirmationPrompt(gui.g, true)
}
}