mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-07 21:04:35 +00:00
Selecting a different game actually switches properly now
This commit is contained in:
1
gui.py
1
gui.py
@@ -281,6 +281,7 @@ class GameSelector:
|
||||
self._selection = None
|
||||
else:
|
||||
self._selection = self._list.get(current[0])
|
||||
self._manager._twitch.change_state(State.GAME_SELECT)
|
||||
|
||||
def get_selection(self) -> Game:
|
||||
if self._selection is None:
|
||||
|
||||
@@ -188,7 +188,7 @@ class Twitch:
|
||||
await self.websocket.start()
|
||||
self.gui.games.set_games(games)
|
||||
selected_game = self.gui.games.get_selection()
|
||||
self.change_state(State.CHANNEL_FETCH)
|
||||
self.change_state(State.CHANNEL_CLEANUP)
|
||||
elif self._state is State.CHANNEL_FETCH:
|
||||
if selected_game is None:
|
||||
self.change_state(State.GAME_SELECT)
|
||||
|
||||
Reference in New Issue
Block a user