Skip to content

Commit

Permalink
Fix list comprehension in mod kick dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Kotrasinski <[email protected]>
  • Loading branch information
Wesmania committed Dec 30, 2017
1 parent 764ed0b commit f6eb7b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* Fix host and link in announcements in chat (#930, #934)
* Fix '/me' message formatting for senders with no avatars (#936, #940)
* Restore the 'quit' server message when a chatter quits chat (#937, #939)
* Fix exception in the mod kick dialog (#941)

Contributors:
- Wesmania
Expand Down
2 changes: 1 addition & 1 deletion src/client/kick_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def reset(self, name=""):
self.cbPeriod.setEnabled(False)
self.cbPeriod.setCurrentIndex(1)

online_players = [p.login for p in self.client.players]
online_players = [p.login for p in self.client.players.values()]
completer = QCompleter(online_players, self)
self.leUsername.setCompleter(completer)

Expand Down

0 comments on commit f6eb7b2

Please sign in to comment.