Skip to content

Commit

Permalink
Update get_game_info function
Browse files Browse the repository at this point in the history
  • Loading branch information
reillychase committed Oct 27, 2016
1 parent ef17a2f commit 40d87c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def __init__(self):
self.input_server.returnPressed.connect(self.login)
self.input_channel.returnPressed.connect(self.login)
self.input_client_tag.returnPressed.connect(self.login)
self.list_games.currentItemChanged.connect(self.get_game_info)
# Gather and assign all the user input:
self.username = ''
self.password = ''
Expand All @@ -192,6 +193,9 @@ def __init__(self):
self.print_finger = 0
self.print_stats = 0

def get_game_info(self):
self.input_game_name.setText(self.list_games.currentItem().text())

def update_channel(self):
self.input_channel_2.setText(self.list_channels.currentItem().text())

Expand Down

0 comments on commit 40d87c8

Please sign in to comment.