diff options
Diffstat (limited to 'pkg/gui/quitting.go')
-rw-r--r-- | pkg/gui/quitting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/quitting.go b/pkg/gui/quitting.go index 99ebdfb1a..cdb1ff09a 100644 --- a/pkg/gui/quitting.go +++ b/pkg/gui/quitting.go @@ -73,7 +73,7 @@ func (gui *Gui) quit() error { } if gui.c.UserConfig.ConfirmOnQuit { - return gui.c.Ask(types.AskOpts{ + return gui.c.Confirm(types.ConfirmOpts{ Title: "", Prompt: gui.c.Tr.ConfirmQuit, HandleConfirm: func() error { |