BUG: Do not sort accounts
Is not possible to sort acounts on this way. We need make the comparison using their names, not their keys.
This commit is contained in:
parent
6bf45233bb
commit
cfce5c8500
@ -608,7 +608,9 @@ class Blinkenlights(UIBase, CursesUtil):
|
||||
self.logwin.idlok(True) # needed for scrollok below
|
||||
self.logwin.scrollok(True) # scroll window when too many lines added
|
||||
self.draw_logwin()
|
||||
self.accounts = reversed(sorted(self.accframes.keys()))
|
||||
|
||||
# TODO: Sort the accounts using their name
|
||||
self.accounts = self.accframes.keys()
|
||||
pos = self.height - 1
|
||||
index = 0
|
||||
self.hotkeys = []
|
||||
|
Loading…
Reference in New Issue
Block a user