prompts: fix a potential issue if the user sends multiple show commands in succession
This commit is contained in:
1 parent
877c477723
commit
b98bcf857c
1 file changed
+2
-1
@@ -44,7 +44,8 @@ class Prompt:
|
||||
self.set_button(*params)
|
||||
return
|
||||
elif data == 'prompt_show':
|
||||
self.show()
|
||||
if not self.prompt:
|
||||
self.show()
|
||||
return
|
||||
elif data == 'prompt_end':
|
||||
self.end()
|
||||
|
||||
Reference in new issue
Block a user