diff --git a/changelog.md b/changelog.md index aba18ad6..6e54f945 100644 --- a/changelog.md +++ b/changelog.md @@ -29,6 +29,7 @@ Saves from 3.x are not compatible with 4.0. * **[UI]** Carriers and LHAs now match the colour of airfields, and their destination icons are translucent. * **[UI]** Updated intel box text for first turn. * **[UI]** Base Capture Cheat is now usable at all bases and can also be used to transfer player-owned bases to OPFOR. +* **[UI]** Pass Turn button is relabled as "Begin Campaign" on Turn 0. * **[UI]** Added a ruler to the map. * **[Units/Factions/Mods]** Removes MB-339PAN support, as the mod is now deprecated and no longer works with DCS 2.7+. * **[New Game Wizard]** Mods are now selected via checkboxes in the new game wizard, not as separate factions. diff --git a/qt_ui/widgets/QTopPanel.py b/qt_ui/widgets/QTopPanel.py index d3ad018f..3fa91736 100644 --- a/qt_ui/widgets/QTopPanel.py +++ b/qt_ui/widgets/QTopPanel.py @@ -46,7 +46,10 @@ class QTopPanel(QFrame): self.conditionsWidget = QConditionsWidget() self.budgetBox = QBudgetBox(self.game) - self.passTurnButton = QPushButton("Pass Turn") + pass_turn_text = "Pass Turn" + if not self.game or self.game.turn == 0: + pass_turn_text = "Begin Campaign" + self.passTurnButton = QPushButton(pass_turn_text) self.passTurnButton.setIcon(CONST.ICONS["PassTurn"]) self.passTurnButton.setProperty("style", "btn-primary") self.passTurnButton.clicked.connect(self.passTurn) @@ -114,6 +117,8 @@ class QTopPanel(QFrame): self.factionsInfos.setGame(game) self.passTurnButton.setEnabled(True) + if game and game.turn > 0: + self.passTurnButton.setText("Pass Turn") if game and game.turn == 0: self.proceedButton.setEnabled(False)