fix propagate player update to participant views
This commit is contained in:
parent
7792a76f8e
commit
dd886802f4
6 changed files with 24 additions and 21 deletions
|
|
@ -105,7 +105,7 @@ class WarController:
|
|||
self.app.navigation.selected_war_id, name, description
|
||||
)
|
||||
self.app.is_dirty = True
|
||||
self.app.navigation.refresh(RefreshScope.WAR_DETAILS)
|
||||
self.app.navigation.refresh(RefreshScope.CURRENT_SELECTION_DETAILS)
|
||||
|
||||
def edit_objective(self, objective_id: str) -> None:
|
||||
obj = self.app.model.get_objective(objective_id)
|
||||
|
|
@ -143,7 +143,7 @@ class WarController:
|
|||
self.app.navigation.selected_war_id, player_id, faction
|
||||
)
|
||||
self.app.is_dirty = True
|
||||
self.app.navigation.refresh(RefreshScope.WAR_DETAILS)
|
||||
self.app.navigation.refresh(RefreshScope.CURRENT_SELECTION_DETAILS)
|
||||
|
||||
def edit_war_participant(self, participant_id: str) -> None:
|
||||
war_part = self.app.model.get_war_participant(participant_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue