Chats can be sent by pressing enter in the text box

This commit is contained in:
2016-08-14 02:12:49 -05:00
parent 4491a600f3
commit 4ae167e461
4 changed files with 19 additions and 1 deletions

View File

@@ -138,6 +138,7 @@ class chatTab(wx.Panel):
sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(self.create_controls())
self.send = wx.Button(self, -1, _(u"Send"))
self.send.SetDefault()
sizer.Add(self.send, 0, wx.ALL, 5)
self.SetSizer(sizer)