Start 2.4.1, fix #852.

This commit is contained in:
Simon Clark 2021-02-06 19:56:17 +00:00
parent 845e7fb956
commit b71b6473e3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# 2.4.1
## Fixes
* **[UI]** Budget display is also now rounded to 2 decimal places.
# 2.4.0
Saves from 2.3 are not compatible with 2.4.

View File

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