fix propagate player update to participant views

This commit is contained in:
Maxime Réaux 2026-02-10 11:09:58 +01:00
parent 7792a76f8e
commit dd886802f4
6 changed files with 24 additions and 21 deletions

View file

@ -123,7 +123,7 @@ class CampaignController:
self.app.navigation.selected_campaign_id, player_id, leader, theme
)
self.app.is_dirty = True
self.app.navigation.refresh(RefreshScope.CAMPAIGN_DETAILS)
self.app.navigation.refresh(RefreshScope.CURRENT_SELECTION_DETAILS)
def edit_campaign_participant(self, participant_id: str) -> None:
camp_part = self.app.model.get_campaign_participant(participant_id)
@ -198,7 +198,7 @@ class CampaignController:
influence_id,
)
self.app.is_dirty = True
self.app.navigation.refresh(RefreshScope.CAMPAIGN_DETAILS)
self.app.navigation.refresh(RefreshScope.CURRENT_SELECTION_DETAILS)
def edit_sector(self, sector_id: str) -> None:
sect = self.app.model.get_sector(sector_id)