Bug fix: Add chums when using manual sorting
This commit is contained in:
parent
33e916a929
commit
6ff4fe3b76
1 changed files with 4 additions and 1 deletions
|
@ -585,7 +585,10 @@ class chumArea(RightClickTree):
|
|||
# Manual sorting
|
||||
if self.mainwindow.config.sortMethod() == 2:
|
||||
chums = self.mainwindow.config.chums()
|
||||
fi = chums.index(chumLabel.chum.handle)
|
||||
if chumLabel.chum.handle in chums:
|
||||
fi = chums.index(chumLabel.chum.handle)
|
||||
else:
|
||||
fi = 0
|
||||
c = 1
|
||||
|
||||
# TODO: Rearrange chums list on drag-n-drop
|
||||
|
|
Loading…
Reference in a new issue