prompts: fix a potential issue if the user sends multiple show commands in succession
This commit is contained in:
parent
877c477723
commit
b98bcf857c
@ -44,6 +44,7 @@ class Prompt:
|
|||||||
self.set_button(*params)
|
self.set_button(*params)
|
||||||
return
|
return
|
||||||
elif data == 'prompt_show':
|
elif data == 'prompt_show':
|
||||||
|
if not self.prompt:
|
||||||
self.show()
|
self.show()
|
||||||
return
|
return
|
||||||
elif data == 'prompt_end':
|
elif data == 'prompt_end':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user