Commit a8630190 authored by louiz’'s avatar louiz’

Avoid traceback on Enter in ChatTabs

parent 26b38c81
......@@ -245,6 +245,7 @@ class ChatTab(Tab):
self.input.auto_completion(words, ' ')
def on_enter(self):
txt = self.input.key_enter()
if not Tab.on_enter(self):
if txt.startswith('//'):
txt = txt[1:]
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