From fd108112ab5af4858553efee0965857750542d72 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Sun, 26 Jun 2011 23:45:38 -0700 Subject: [PATCH] Bug fix: Don't delete a random chum when blocking someone not on your list --- CHANGELOG.mkdn | 1 + pesterchum.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.mkdn b/CHANGELOG.mkdn index 6536190..95cef1b 100644 --- a/CHANGELOG.mkdn +++ b/CHANGELOG.mkdn @@ -68,6 +68,7 @@ CHANGELOG * Chat input box right-click menus - Kiooeht [evacipatedBox] * Don't overflow random colours into colourless messages - Kiooeht [evacipatedBox] * Only open links on left click - Kiooeht [evacipatedBox] + * Don't delete random chum when blocking someone not on chumroll - Kiooeht [evacipatedBox] ### 3.14.1 * Pesterchum 3.14 - illuminatedwax [ghostDunk] diff --git a/pesterchum.py b/pesterchum.py index 4c9dea2..a34c1e8 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -1110,6 +1110,7 @@ class chumArea(RightClickTree): def removeChum(self, handle = None): if handle: clistings = self.getChums(handle) + if len(clistings) <= 0: return for c in clistings: self.setCurrentItem(c) if not self.currentItem():