mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Initialize campaign values with first campaign in the list
This commit is contained in:
parent
9ffaec6d16
commit
f670ccd8a6
@ -106,6 +106,7 @@ class NewGameWizard(QtWidgets.QWizard):
|
|||||||
self.addPage(self.faction_selection_page)
|
self.addPage(self.faction_selection_page)
|
||||||
self.addPage(GeneratorOptions())
|
self.addPage(GeneratorOptions())
|
||||||
self.difficulty_page = DifficultyAndAutomationOptions()
|
self.difficulty_page = DifficultyAndAutomationOptions()
|
||||||
|
self.difficulty_page.set_campaign_values(self.campaigns[0])
|
||||||
|
|
||||||
# Update difficulty page on campaign select
|
# Update difficulty page on campaign select
|
||||||
self.theater_page.campaign_selected.connect(
|
self.theater_page.campaign_selected.connect(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user