Merge pull request #194 from kra-mo/geoffreys-dev-branch

Removed patch to circumvent wrong store length
This commit is contained in:
Geoffrey Coulaud
2023-09-26 14:38:04 +02:00
committed by GitHub

View File

@@ -177,7 +177,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
def redownload_sgdb(*_args) -> None:
counter = 0
games_len = shared.store.__len__() - 1 # IDK why it returns one more
games_len = len(shared.store)
sgdb_manager = shared.store.managers[SGDBManager]
sgdb_manager.reset_cancellable()