1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00

Don't remove update widget after reparation finished and update available

This commit is contained in:
Dummerle 2021-12-05 20:55:45 +01:00
parent 32e3d1fd55
commit b3fb9a50e7
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1

View file

@ -147,10 +147,9 @@ class DownloadsTab(QWidget, Ui_DownloadsTab):
self.queue_widget.update_queue(self.dl_queue)
if game.app_name in self.update_widgets.keys():
self.update_widgets[game.app_name].setVisible(False)
self.update_widgets.pop(game.app_name)
if len(self.update_widgets) == 0:
self.update_text.setVisible(True)
igame = self.core.get_installed_game(game.app_name)
if self.core.get_asset(game.app_name, igame.platform, False).build_version == igame.version:
self.remove_update(game.app_name)
self.signals.send_notification.emit(game.app_title)
self.signals.update_gamelist.emit([game.app_name])