Accept prompt_accept in KeyMode.yesno
This commit is contained in:
parent
8d07ec2235
commit
f397b6301b
@ -187,7 +187,7 @@ class Prompter:
|
|||||||
self.question.cancel()
|
self.question.cancel()
|
||||||
|
|
||||||
@cmdutils.register(instance='mainwindow.status.prompt.prompter', hide=True,
|
@cmdutils.register(instance='mainwindow.status.prompt.prompter', hide=True,
|
||||||
modes=[KeyMode.prompt])
|
modes=[KeyMode.prompt, KeyMode.yesno])
|
||||||
def prompt_accept(self):
|
def prompt_accept(self):
|
||||||
"""Accept the current prompt.
|
"""Accept the current prompt.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user