Open jonesmz opened 5 years ago
Dunno, could be a bit too much extra updating for a limited amount of extra benefit... the budget can change pretty frequently at times.
shrug.
Just reporting the bug as I see it.
Just because the fix would be too expensive doesn't mean the bug isn't valid :-)
There's also quite a number of other UI widgets that do update based on budget changes. E.g. the shipbuilding menu.
The dialog to choose the type of planet to terraform to has the "Terraform" button disabled, as it should.
However, when enough money is available (e.g. next budget cycle) the button won't re-enable until the user selects a different type of terraforming, and then they can go back to their original selection.
It looks like the condition to disable / enable the button is only chosen when the terraforming type is selected. To address this, a callback on the quantity of available funds changing could be used to re-enable the button.