mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Oops, repair the Add Game dialog
I should have taken the "XXX DANGER ZONE" seriously. ^^ Thanks to unit tests for the pointer, by the way ! I've started reading the "TDD with Python" book, I will probably start writing tests myself "soon".
This commit is contained in:
parent
9c179bbdb8
commit
ed8f280343
|
@ -195,8 +195,9 @@ class GameDialogCommon(object):
|
|||
else:
|
||||
self.runner_name = widget.get_model()[runner_index][1]
|
||||
# XXX DANGER ZONE
|
||||
game_slug = self.game.slug if self.game else None
|
||||
self.lutris_config = LutrisConfig(runner_slug=self.runner_name,
|
||||
game_slug=self.game.slug)
|
||||
game_slug=game_slug)
|
||||
|
||||
self.rebuild_tabs()
|
||||
self.notebook.set_current_page(current_page)
|
||||
|
|
Loading…
Reference in a new issue