This commit is contained in:
Dan Albert
2021-02-12 19:58:30 -08:00
parent 053663bd76
commit a47bef1f13
222 changed files with 8434 additions and 4461 deletions

View File

@@ -35,7 +35,9 @@ class QBudgetBox(QGroupBox):
:param budget: Current money available
:param reward: Planned reward for next turn
"""
self.money_amount.setText(str(round(budget,2)) + "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:
@@ -47,4 +49,4 @@ class QBudgetBox(QGroupBox):
def openFinances(self):
self.subwindow = QFinancesMenu(self.game)
self.subwindow.show()
self.subwindow.show()