Andidy / finance-app

A Finance / Budgeting Application to refresh my C# knowledge and Learn WPF
0 stars 0 forks source link

ComboBox text isn't updated for Selected balance for Finance Object #10

Open Andidy opened 3 years ago

Andidy commented 3 years ago

The ComboBox which selects which balance to apply a finance object to doesn't update the text on the button itself when calling "comboBoxBalanceSelection.Items.Refresh();" but the dropdown list itself does update. This is confusing because a user could see two different values for the same balance in that dropdown.

For example: if the balance has $1000 and then $100 is added to it through a finance object and the balances recalculated, then the text on the combobox will still say $1000, but if you click on the button and the dropdown appears it will say $1100.

Also if there are two balances and this bug appears, then clicking on the other balance and then clicking back on the bugged balance fixes the issue.

Here is an example of the bug:

image