Update game state, when saves updated
This commit is contained in:
parent
9233c28e5b
commit
ea0f40bb41
1 changed files with 1 additions and 1 deletions
|
@ -252,12 +252,12 @@ class RareGameSlim(RareGameBase):
|
||||||
else:
|
else:
|
||||||
rsave = RareSaveGame(save, SaveGameStatus.SAME_AGE, dt_local=None, dt_remote=save.datetime)
|
rsave = RareSaveGame(save, SaveGameStatus.SAME_AGE, dt_local=None, dt_remote=save.datetime)
|
||||||
self.saves.append(rsave)
|
self.saves.append(rsave)
|
||||||
|
self.signals.widget.update.emit()
|
||||||
|
|
||||||
def update_saves(self):
|
def update_saves(self):
|
||||||
""" Use only in a thread """
|
""" Use only in a thread """
|
||||||
saves = self.core.get_save_games(self.app_name)
|
saves = self.core.get_save_games(self.app_name)
|
||||||
self.load_saves(saves)
|
self.load_saves(saves)
|
||||||
self.signals.widget.update.emit()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_save_up_to_date(self):
|
def is_save_up_to_date(self):
|
||||||
|
|
Loading…
Reference in a new issue