Bug fix: Register memo modes/actions correctly

This commit is contained in:
Kiooeht 2011-06-01 08:24:35 -07:00
parent e6c3791464
commit 20241b0779

View file

@ -728,8 +728,6 @@ class PesterMemo(PesterConvo):
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString) @QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)
def userPresentChange(self, handle, channel, update): def userPresentChange(self, handle, channel, update):
if channel != self.channel and update != "quit":
return
h = unicode(handle) h = unicode(handle)
c = unicode(channel) c = unicode(channel)
update = unicode(update) update = unicode(update)