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:
		| @@ -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 = [] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rodolfo García Peñas (kix)
					Rodolfo García Peñas (kix)