Initialize campaign values with first campaign in the list

This commit is contained in:
Raffson
2023-02-26 00:04:36 +01:00
parent 9ffaec6d16
commit f670ccd8a6

View File

@@ -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(