Prevent enter key send when a response is being received
This commit is contained in:
1 parent
1477bacf6a
commit
3ac0936d1a
1 file changed
+2
-1
+2
-1
@@ -1744,7 +1744,8 @@ Generate a title following these rules:
|
||||
clipboard.read_texture_async(None, self.cb_image_received)
|
||||
|
||||
def handle_enter_key(self):
|
||||
self.send_message()
|
||||
if not self.bot_message:
|
||||
self.send_message()
|
||||
return True
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user