Changelog.

This commit is contained in:
Simon Clark 2021-01-31 00:14:53 +00:00
parent 6d78c1e302
commit 88f7d1d572
2 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Saves from 2.3 are not compatible with 2.4.
* **[UI]** Carrier group SAM threat rings now move with the carrier. * **[UI]** Carrier group SAM threat rings now move with the carrier.
* **[UI]** Base intel menu no longer compresses text, and is now scrollable. * **[UI]** Base intel menu no longer compresses text, and is now scrollable.
* **[UI]** Edit Flight window is now dynamically sized to adapt to the width of waypoint names, so they no longer get truncated. * **[UI]** Edit Flight window is now dynamically sized to adapt to the width of waypoint names, so they no longer get truncated.
* **[UI]** Create Flight comboboxes now stretch to adjust to the size of their contents. * **[UI]** Budget income display is now rounded to 2 decimal places.
* **[Factions]** USA with C-130 faction now links to the required mod. * **[Factions]** USA with C-130 faction now links to the required mod.
* **[Campaign]** Fixed issue where destroyed buildings would sometimes not count as destroyed and thus respawn. * **[Campaign]** Fixed issue where destroyed buildings would sometimes not count as destroyed and thus respawn.
* **[Campaign]** Fixed issue where destroyed runways were not registered. * **[Campaign]** Fixed issue where destroyed runways were not registered.

View File

@ -35,7 +35,6 @@ class QBudgetBox(QGroupBox):
:param budget: Current money available :param budget: Current money available
:param reward: Planned reward for next turn :param reward: Planned reward for next turn
""" """
#self.money_amount.setText(str(budget) + "M (+" + str(reward) + "M)")
self.money_amount.setText(str(budget) + "M (+" + str(round(reward,2)) + "M)") self.money_amount.setText(str(budget) + "M (+" + str(round(reward,2)) + "M)")
def setGame(self, game): def setGame(self, game):