From c466ecf5ac8cefc85f9e1844d5f7bb491748c8c3 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Tue, 29 Mar 2011 00:53:21 -0700 Subject: [PATCH] Fix some small bugs I didn't catch before pushing. --- pesterchum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pesterchum.py b/pesterchum.py index 2e7b2e4..cef7e34 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -820,7 +820,7 @@ class chumArea(RightClickTree): for i in range(self.topLevelItemCount()): if self.topLevelItem(i).text(0) == currentGroup.text(0): break - while self.topLevelItem(i).child(0): + while self.topLevelItem(i) and self.topLevelItem(i).child(0): chumLabel = self.topLevelItem(i).child(0) chumLabel.chum.group = "Chums" self.mainwindow.chumdb.setGroup(chumLabel.chum.handle, "Chums") @@ -2031,8 +2031,8 @@ class PesterWindow(MovingWindow): secondssetting = self.optionmenu.secondscheck.isChecked() self.config.set("showSeconds", secondssetting) # groups - groupssetting = self.optionmenu.groupscheck.isChecked() - self.config.set("useGroups", groupssetting) + #groupssetting = self.optionmenu.groupscheck.isChecked() + #self.config.set("useGroups", groupssetting) emptygroupssetting = self.optionmenu.showemptycheck.isChecked() curemptygroup = self.config.showEmptyGroups() if curemptygroup and not emptygroupssetting: