Fix some small bugs I didn't catch before pushing.
This commit is contained in:
parent
7d46901a66
commit
c466ecf5ac
1 changed files with 3 additions and 3 deletions
|
@ -820,7 +820,7 @@ class chumArea(RightClickTree):
|
||||||
for i in range(self.topLevelItemCount()):
|
for i in range(self.topLevelItemCount()):
|
||||||
if self.topLevelItem(i).text(0) == currentGroup.text(0):
|
if self.topLevelItem(i).text(0) == currentGroup.text(0):
|
||||||
break
|
break
|
||||||
while self.topLevelItem(i).child(0):
|
while self.topLevelItem(i) and self.topLevelItem(i).child(0):
|
||||||
chumLabel = self.topLevelItem(i).child(0)
|
chumLabel = self.topLevelItem(i).child(0)
|
||||||
chumLabel.chum.group = "Chums"
|
chumLabel.chum.group = "Chums"
|
||||||
self.mainwindow.chumdb.setGroup(chumLabel.chum.handle, "Chums")
|
self.mainwindow.chumdb.setGroup(chumLabel.chum.handle, "Chums")
|
||||||
|
@ -2031,8 +2031,8 @@ class PesterWindow(MovingWindow):
|
||||||
secondssetting = self.optionmenu.secondscheck.isChecked()
|
secondssetting = self.optionmenu.secondscheck.isChecked()
|
||||||
self.config.set("showSeconds", secondssetting)
|
self.config.set("showSeconds", secondssetting)
|
||||||
# groups
|
# groups
|
||||||
groupssetting = self.optionmenu.groupscheck.isChecked()
|
#groupssetting = self.optionmenu.groupscheck.isChecked()
|
||||||
self.config.set("useGroups", groupssetting)
|
#self.config.set("useGroups", groupssetting)
|
||||||
emptygroupssetting = self.optionmenu.showemptycheck.isChecked()
|
emptygroupssetting = self.optionmenu.showemptycheck.isChecked()
|
||||||
curemptygroup = self.config.showEmptyGroups()
|
curemptygroup = self.config.showEmptyGroups()
|
||||||
if curemptygroup and not emptygroupssetting:
|
if curemptygroup and not emptygroupssetting:
|
||||||
|
|
Loading…
Reference in a new issue