From f397b6301bc2fffc78e089924df4d84ade4fba3f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 5 Aug 2014 17:08:40 +0200 Subject: [PATCH] Accept prompt_accept in KeyMode.yesno --- qutebrowser/widgets/statusbar/prompter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/widgets/statusbar/prompter.py b/qutebrowser/widgets/statusbar/prompter.py index 526ada3f0..ccb7398f0 100644 --- a/qutebrowser/widgets/statusbar/prompter.py +++ b/qutebrowser/widgets/statusbar/prompter.py @@ -187,7 +187,7 @@ class Prompter: self.question.cancel() @cmdutils.register(instance='mainwindow.status.prompt.prompter', hide=True, - modes=[KeyMode.prompt]) + modes=[KeyMode.prompt, KeyMode.yesno]) def prompt_accept(self): """Accept the current prompt.