def on_remove_game(self, *_args): """Callback that present the uninstall dialog to the user""" if self.game.is_installed: UninstallGameDialog(game_id=self.game.id, parent=self.window) else: RemoveGameDialog(game_id=self.game.id, parent=self.window)
def on_remove_game(self, *_args): """Callback that present the uninstall dialog to the user""" UninstallGameDialog(game_id=self.game.id, callback=self.window.remove_game_from_view, parent=self.window)