Bug fix: Allow continued typing while text area has focus

This commit is contained in:
Kiooeht 2011-05-05 20:53:03 -07:00
parent 585abbc5db
commit 45477b3295
2 changed files with 4 additions and 1 deletions

View file

@ -20,7 +20,6 @@ Bugs
* Windows XP SP2: sometimes mouse clicks dont register? must be some kinda crash
* Leave memos on reconnect, needs to auto-rejoin memos
* Leave memos on profile change (should just change nick)
* Text input loses focus when scrolling/clicking on text area
Mac Bugs
--------

View file

@ -317,6 +317,10 @@ class PesterText(QtGui.QTextEdit):
self.parent().clearNewMessage()
QtGui.QTextEdit.focusInEvent(self, event)
def keyPressEvent(self, event):
self.parent().textInput.keyPressEvent(event)
QtGui.QTextEdit.keyPressEvent(self, event)
def mousePressEvent(self, event):
url = self.anchorAt(event.pos())
if url != "":