Commit cbc7e8be authored by Andrey Gursky's avatar Andrey Gursky

ChatControlBase: Properly handle ENTER key if send_on_ctrl_enter is active

Fixes #10258
parent 8a128eaf
Pipeline #6240 passed with stages
in 5 minutes and 56 seconds
......@@ -894,6 +894,10 @@ class ChatControlBase(ChatCommandProcessor, CommandTools, EventHelper):
if not app.settings.get('send_on_ctrl_enter'):
textview.insert_newline()
return True
else:
if app.settings.get('send_on_ctrl_enter'):
textview.insert_newline()
return True
if not app.account_is_available(self.account):
# we are not connected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment