From c13be58b4919597b737fb1438b85d6ba2d8d95e3 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Sun, 19 Jun 2011 05:57:24 -0700 Subject: [PATCH] Bug fix: Wrap all messages in quiet --- CHANGELOG.mkdn | 1 + convo.py | 2 +- memos.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.mkdn b/CHANGELOG.mkdn index e658a3e..6099302 100644 --- a/CHANGELOG.mkdn +++ b/CHANGELOG.mkdn @@ -59,6 +59,7 @@ CHANGELOG * Menu bar text colour correct when default system colour isn't black - Kiooeht [evacipatedBox] * End all colour tags and restart them on split messages - Kiooeht [evacipatedBox] * Chat input box right-click menus - Kiooeht [evacipatedBox] + * Don't overflow random colours into colourless messages - Kiooeht [evacipatedBox] ### 3.14.1 * Pesterchum 3.14 - illuminatedwax [ghostDunk] diff --git a/convo.py b/convo.py index c221a1e..4e010d1 100644 --- a/convo.py +++ b/convo.py @@ -337,7 +337,7 @@ class PesterText(QtGui.QTextEdit): lexmsg[0:0] = [colorBegin("" % (color), color), "%s: " % (initials)] lexmsg.append(colorEnd("")) - self.append(time + convertTags(lexmsg)) + self.append("" + time + convertTags(lexmsg) + "") if chum is me: window.chatlog.log(parent.chum.handle, lexmsg) else: diff --git a/memos.py b/memos.py index 6818826..1f97eac 100644 --- a/memos.py +++ b/memos.py @@ -321,7 +321,7 @@ class MemoText(PesterText): window.chatlog.log(parent.channel, memsg) self.append(convertTags(memsg)) else: - self.append(makeSafe(convertTags(lexmsg))) + self.append("" + makeSafe(convertTags(lexmsg)) + "") window.chatlog.log(parent.channel, lexmsg) def changeTheme(self, theme):