From f670ccd8a6adf8abbf712df138c61832db2e5c36 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 26 Feb 2023 00:04:36 +0100 Subject: [PATCH] Initialize campaign values with first campaign in the list --- qt_ui/windows/newgame/QNewGameWizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt_ui/windows/newgame/QNewGameWizard.py b/qt_ui/windows/newgame/QNewGameWizard.py index 83f2e611..4bd873e8 100644 --- a/qt_ui/windows/newgame/QNewGameWizard.py +++ b/qt_ui/windows/newgame/QNewGameWizard.py @@ -106,6 +106,7 @@ class NewGameWizard(QtWidgets.QWizard): self.addPage(self.faction_selection_page) self.addPage(GeneratorOptions()) self.difficulty_page = DifficultyAndAutomationOptions() + self.difficulty_page.set_campaign_values(self.campaigns[0]) # Update difficulty page on campaign select self.theater_page.campaign_selected.connect(