Accept prompt_accept in KeyMode.yesno

This commit is contained in:
Florian Bruhin 2014-08-05 17:08:40 +02:00
parent 8d07ec2235
commit f397b6301b

View File

@ -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.