Bug fix: Move hidden chums when deleting group
This commit is contained in:
parent
8b9bc4199b
commit
e0b80292e6
3 changed files with 5 additions and 3 deletions
|
@ -25,6 +25,7 @@ CHANGELOG
|
|||
* Delete groups when using online numbers - Kiooeht [evacipatedBox]
|
||||
* Add chums when using manual sorting - Kiooeht [evacipatedBox]
|
||||
* Memo case insensitive for userlist and modes - Kiooeht [evacipatedBox]
|
||||
* Move hidden chums when deleting group - Kiooeht [evacipatedBox]
|
||||
|
||||
|
||||
### 3.41.3
|
||||
|
|
|
@ -37,7 +37,6 @@ Bugs
|
|||
* Kill Zalgo
|
||||
* Random invisible, tiny links to last link at end of every message
|
||||
* Clicking link to invite-only memo crashes
|
||||
* Deleting group doesn't move hidden chums to default group
|
||||
|
||||
Windows Bugs
|
||||
------------
|
||||
|
|
|
@ -823,13 +823,15 @@ class chumArea(RightClickTree):
|
|||
gTemp = self.mainwindow.config.getGroups()
|
||||
self.groups = [g[0] for g in gTemp]
|
||||
self.openGroups = [g[1] for g in gTemp]
|
||||
for c in self.chums:
|
||||
if c.group == text:
|
||||
c.group = "Chums"
|
||||
self.mainwindow.chumdb.setGroup(c.handle, "Chums")
|
||||
for i in range(self.topLevelItemCount()):
|
||||
if self.topLevelItem(i).text(0) == currentGroup.text(0):
|
||||
break
|
||||
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")
|
||||
self.takeItem(chumLabel)
|
||||
self.addItem(chumLabel)
|
||||
self.takeTopLevelItem(i)
|
||||
|
|
Loading…
Reference in a new issue